Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support 7-zip on non-Windows platforms #9951

Closed
TRowbotham opened this issue Jun 7, 2021 · 0 comments
Closed

Support 7-zip on non-Windows platforms #9951

TRowbotham opened this issue Jun 7, 2021 · 0 comments
Labels
Milestone

Comments

@TRowbotham
Copy link

Given that support for 7-zip on Windows was recently added, I thought it would be good to also support this on other platforms in the not so distant future. The latest alpha version, 21.02, of 7-zip has added official support for linux and macos along with arm64 variants. As explained in the text below, it seems that the official executable will have the 7zz name.

https://www.7-zip.org/history.txt
https://sourceforge.net/p/sevenzip/discussion/45797/thread/7fe6c21efa/

Taken from the readme of the pre-compiled linux binary:

7-Zip and p7zip

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. 

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.

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

The manual of 7-Zip and p7zip can show 7z in command examples.
But you can use 7zz, 7zr, 7za instead of 7z from examples.

@Seldaek Seldaek added the Feature label Jun 8, 2021
@Seldaek Seldaek added this to the 2.2 milestone Jun 8, 2021
@Seldaek Seldaek modified the milestones: 2.2, 2.1 Jul 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants