Install 7z On A Debian, Ubuntu, Arch, Kali, Fedora And Raspbian

Install 7z On A Debian, Ubuntu, Arch, Kali, Fedora And Raspbian

7z

A file archiver with high compression ratio.
Homepage: .

Maintainer: Robert Luberda



Section: utils

Install 7z

  • Debian apt-get install p7zip-full Click to copy
  • Ubuntu apt-get install p7zip-full Click to copy
  • Arch Linux pacman -S p7zip-full Click to copy
  • Kali Linux apt-get install p7zip-full Click to copy
  • Fedora dnf install p7zip-full Click to copy
  • Raspbian apt-get install p7zip-full Click to copy

A file archiver with high compression ratio. Homepage: .

How to use 7z?

Below are few example commands for 7z that you can use in the terminal.

Archive a file or folder:
7z a archived.7z path/to/fileClick to copy
Encrypt an existing archive (including headers):
7z a encrypted.7z -ppassword -mhe archived.7zClick to copy
Extract an existing 7z file with original directory structure:
7z x archived.7zClick to copy
Extract an archive with user-defined output path:
7z x archived.7z -opath/to/outputClick to copy
Archive using a specific archive type:
7z a -t zip|gzip|bzip2|tar archived.7z path/to/fileClick to copy
List available archive types:
7z iClick to copy
List the contents of an archive file:
7z l archived.7zClick to copy
Install the latest version of 7z in Debian, Ubuntu, Arch, Kali, Fedora and Raspbian from terminal. To install the 7z just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of 7z from the respository and install it in your computer/server.