7-Zip is a file archiver program that can sometimes compress files into smaller size compared to other compression programs such as
WinZip. The program can pack and unpack various formats such as
TAR, and of course, its own format,
7z is a container format that supports few compression method such as
LZMA being the default.
Extract 7z file in Linux:
The program is usually packaged in
p7zip. If you're running
Ubuntu, you can install the program by running the following command at the terminal.
$ sudo apt-get install p7zip
To install it from source, download the source from it's official website and follow the instruction from the website.
7z file can be extracted using the command line or GUI based programs
Command line option to extract a
7z file is as simple as the following example;
p7zip -d example.7z