Extract 7z (7-Zip) file in Linux



7-Zip is a file archiver program that claims to compress files into smaller size compared to other programs such as WinRAR and WinZip. The program can pack and unpack various formats such as ZIP, GZIP, BZIP2, TAR, and of course, its own format, 7z. The 7z format itself is actually a container that supports few compression method such as LZMA, Deflate and BZIP2, and it defaults to LZMA.

The program is usually packaged in Linux as p7zip, and is installable in Ubuntu using apt-get as the following;

$ sudo apt-get install p7zip

Though there are many options available, extracting or unpacking a 7z archive is as easy as the following command;

$ 7z x archive.7z

Posted on 13.01.2009 and categorized under linux, windows

Comment Form


  • ayaz: Thanks for the tip.
  • TrueColorTech: Awesome Tip, I have been wanting that option for a while now!
  • iGadget: If this would work, it'd be really nice. However, when I use the command described in your post, I get the following error (twice): Could not conne
  • Alan: fedora 10 is so cool and i have fedora 10 too!
  • Kyle: Forgot to swing back by here after finding version 5.1.3 available, posted about it here: http://yokohead.com/2009/01/google-gears-in-firefox-x64-for

Categories