Skip to main content

UnZip and UnCompress

xz-utils:

You will need xz-utils if you dont have it already. If not, You have to install xz-utils package first:

sudo apt-get install xz-utils


You can use unxz command to extract .xz files:

unxz file.xz

or using with --decompress option of xz:

xz --decompress file.xz

7 Zip

You will need 7zipif you dont have it already. If not, You have to install xz-utils package first:

sudo apt install p7zip

Then, uncompress using the -d command:

p7zip -d something.7z