Unable to Use tar to Decompress tar.bz2 File

I just setup a new server with a minimal installation of AlmaLinux 8. AlmaLinux is a variant of free Red Hat Enterprise Linux 8. It’s like a CentOS 8, but will have a full support until the end of RHEL 8 life cycle. This server is to serve as a new proxy for all VMs inside my home lab. I want to use tinyproxy which is need to be compiled from source as the RPM package is not available as of the time writing. After downloading the source code, and try to decompress it, I was presented with the following error message: ...

July 25, 2021 · 2 min · 406 words · kenno

How to decompress .tar.Z

One way to extract a .tar.Z file: $ zcat file.tar.Z | tar xvf -

October 6, 2011 · 1 min · 14 words · kenno

How to Decompress .tar.bz2 File

Normally, I would bunzip the file first, then untar it next. But I found something after googling for a shortcut: it can all be done with just one tar command. $ tar -xjvf example.tar.bz2 Notice that, we use j flag to decompress bzip2 file and z flag for gzip file. 🙂

April 18, 2006 · 1 min · 51 words · kenno