Install the package.
The command to run the program is the following:
To extract all files from an archive to the current directory without using directory names, run:
$ 7z e <archive name>
To extract with full paths, run:
$ 7z x <archive name>
To extract into a new directory, run:
$ 7z x -o<folder name> <archive name>
Differences between 7z, 7za and 7zr binaries
The package includes three binaries,
/usr/bin/7zr. Their manual pages explain the differences:
- uses plugins to handle archives.
- is a stand-alone executable. 7za handles fewer archive formats than 7z, but does not need any others.
- is a stand-alone executable. 7zr handles fewer archive formats than 7z, but does not need any others. 7zr is a "light-version" of 7za that only handles 7z archives.