7zip For Ubuntu

Back to MainPage.  Back to LinuxStuff.

7zip is made available in Ubuntu through the p7zip-full package.  To install:

sudo apt-get install p7zip-full

You might want to grab p7zip-rar as well, to enable this linux port of 7z to work with rar compressed files.

The command line usage of 7z is quite similar to other compression tools.  To extract:

7z x compressedfile.7z

To add to an archive:

7z a compressedfile.7z sourcefile.cpp

Some random notes on 7zip:

  • 7-Zip began in 2000 and is actively developed by Igor Pavlov.
  • 7-Zip is distributed under the GNU Lesser General Public License. 7-Zip was the winner of the SourceForge 2007 community choice awards for "Technical Design" and for "Best Project".
  • The core .7z compression uses a variety of algorithms, the most common of which are bzip2 and LZMA.
  • LZMA consists of a large LZ-based sliding dictionary up to 4 GiB in size, backed by a range coder. Range encoding is very similar to arithmetic coding, but isn't encumbered by patents.  Range encoding is generally implemented at the byte level, rather than at the bit level as is arithmetic coding.
  • For encryption, 7z archives support the 256-bit AES cipher. Encryption can be enabled for both files and the 7z directory structure.

Back to MainPage.  Back to LinuxStuff.

Subscribe to RSS




Share on Facebook