Skip to content

Add support for the official 7-Zip project

Jan Tojnar requested to merge wip/jtojnar/7zip into master

Quoting from the project’s README:

Now there are two different ports of 7-Zip for Linux/macOS:

  1. p7zip - another port of 7-Zip for Linux, made by an independent developer. The latest version of p7zip now is 16.02, and that p7zip 16.02 is outdated now.

  2. 7-Zip for Linux/macOS - this package - it's new code with all changes from latest 7-Zip for Windows.

These two ports are not identical. Note also that some Linux specific things can be implemented better in p7zip than in new 7-Zip for Linux.

There are several main executables in 7-Zip and p7zip:

  • 7zz (7-Zip) - standalone full version of 7-Zip that supports all formats.

  • 7zzs (7-Zip) - standalone full version of 7-Zip that supports all formats (static library linking).

  • 7z (p7zip) - 7-Zip that requires 7z.so shared library, and it supports all formats via 7z.so.

  • 7zr (p7zip) - standalone reduced version of 7-Zip that supports some 7-Zip's formats: 7z, xz, lzma and split.

  • 7za (p7zip) - standalone version of 7-Zip that supports some main formats: 7z, xz, lzma, zip, bzip2, gzip, tar, cab, ppmd and split.

7zzs is similar to 7zz, but 7zzs was compiled for static library linking, so 7zzs does not use external shared library (".so") files. You can use 7zzs, if 7zz does not work due to lack of required shared library (".so") files.

The command line syntax for executables from p7zip is similar to 7zz syntax from this package.

This change also renames the package names for PackageKit integration. If a distro wants File-Roller to suggest installing p7zip, point 7zip packages listed in packages.match file to it.

Most package repositories that ship 7zz disable the RAR support by default (e.g. Debian, NixOS).

Edited by Jan Tojnar

Merge request reports