Home » Linux Host, Ubuntu, SysAdmin » Linux Commands » How to extract 7z file in Linux ?

How to extract 7z file in Linux ?

7-Zip is a file archiver with a high compression ratio. Using 7 zip we can compress the directory and its all files to reduce the size when we upload to somewhere or send it to others thus reducing the time and bandwidth required.

To extract 7z file, we need to install “p7zip-full” package as below,

$ sudo apt install p7zip-full

Now, it we have a 7 zip compressed file as “helloworld.7z” , then we can extract the same file as,

$ 7z x helloworld.7z

Note: we have added “x” in between “7z” command and “helloworld.7z” file which is an option for extract.

How To Unrar Rar File On Mac
How To Unrar Rar File On Mac

Leave a Comment

Sign up to our newsletter!