Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×
Data Storage Operating Systems Linux

7-Zip Developer Releases the First Official Linux Version (bleepingcomputer.com) 87

An official version of the popular 7-zip archiving program has been released for Linux for the first time. Bleeping Computer reports: Linux already had support for the 7-zip archive file format through a POSIX port called p7zip but it was maintained by a different developer. As the p7zip developer has not maintained their project for 4-5 years, 7-Zip developer Igor Pavlov decided to create a new official Linux version based on the latest 7-Zip source code. Pavlov has released 7-Zip for Linux in AMD64, ARM64, x86, and armhf versions, which users can download [via their respective links].

"These new 7-Zip binaries for Linux were linked (compiled) by GCC without -static switch. And compiled 32-bit executables (x86 and armhf) didn't work on some arm64 and amd64 systems, probably because of missing of some required .so files." "Please write here, if you have some advices how to compile and link binaries that will work in most Linux systems," Pavlov stated on his release page.

This discussion has been archived. No new comments can be posted.

7-Zip Developer Releases the First Official Linux Version

Comments Filter:
  • No source code (Score:5, Insightful)

    by innocent_white_lamb ( 151825 ) on Friday March 12, 2021 @05:39PM (#61152442)

    Binaries only, no source code available.

    For myself, I'll stick to p7zip until that changes.

    • Re:No source code (Score:5, Informative)

      by chispito ( 1870390 ) on Friday March 12, 2021 @05:53PM (#61152460)

      Binaries only, no source code available.

      For myself, I'll stick to p7zip until that changes.

      He left a comment [sourceforge.net] on his project page about it. Seems like he intends to:

      The license for source code will be same - GNU LGPL.
      p7zip has big compiling scripts that are good for linux distributions. But 7-Zip for Linux doesn't use these compiler scripts now. It's possible to merge 7-Zip code with p7zip compiler scripts.
      But I don't work with Linux. So it's difficult for me to maintain all these Linux scripting and packaging things from p7zip.
      And developer of p7zip port didn't show any activity last 4-5 years.

    • You’re going to audit it?

    • No real point in using it at all unless your source of archives insists on using 7zip.

      If the compression savings over regular zip makes not using zip worth it, then there are significantly better compressors then 7zip also. No better than RAR really.
  • A developer openly asking for advice very publicly. I am impressed.

  • I love 7-zip (Score:5, Informative)

    by Thelasko ( 1196535 ) on Friday March 12, 2021 @06:22PM (#61152546) Journal
    I love 7-zip because it has a great command line interface for Windows. I can have my data processing scripts zip the raw data when it's done processing.

    I'm sure Linux alternatives already have great CLI. They always do.
    • Yes, they do. Usually the only "problem" is them offering so many possibilities that newbies may feel overwhelmed.

      (Thouh the default philosophy for Unix-like tools is to not require any parameters unless you want something special, pipe stuff through them, and give no output unless there is a problem. So trying to just use pipes ore redirections, and give it a list of files as parameters if that is appropriate, usually works, or tells you what else you need and what to look for in the (man) page. If not, th

  • OK, guys, it has really been a very long time since my short lived developer days. My career has mostly been as a Linux sys admin or something close to that. But wouldn't static linking have maybe been a better choice? I thought with static linking the compiler pulls in all the libraries it needs so the resulting binary is bigger, but it should work. If you turn this off, then it makes the binary smaller but if your system lacks a library you need, you're out of luck. If my understanding is wrong,
    • by Ilgaz ( 86384 )

      I think he should also ship "snap" and "flatpak" packages that will end the dependency problem forever. I agree a static binary would be a better choice too.

      • by nyet ( 19118 )

        Snap is garbage. Avoid.

      • by nyet ( 19118 )

        It's a fucking compression algorithm. Why on earth should it need anything but libc?

        I can't think of a worse suggestion than snap.

        • by Anonymous Coward

          It's a fucking compression algorithm. Why on earth should it need anything but libc?

          It doesn't need anything exotic. Beyond standard libraries, threads and math seem pretty reasonable.

          % ldd 7zz
          linux-vdso.so.1 (0x00007ffd8935c000)
          libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f4d2290c000)
          libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f4d22583000)
          libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f4d2236b000)
          libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f4d21f7a000)
          /lib64/ld-linux-x86-64.so.2 (0x00007f4

      • There are still distributions out there who haven't solved installing and using multipe versions of libraries in parallel?

        Come on, if their documentation on their package manager is good, I can give any distribution that feature in a week, or even a weekend if a quick hack is OK!

        That snap/flatpack crowd is a bunch of clueless Windows mindset kids. They merely see Linux like a cargo cult sees planes.

        • by nyet ( 19118 )

          > That snap/flatpack crowd is a bunch of clueless Windows mindset kids. They merely see Linux like a cargo cult sees planes.

          Exactly. Not only can they not be bothered to install to /usr/local or /opt, you can't even change the hardwired /snap path.

          They're all fucking retards.

    • Under Linux, you have a package manager. The package file contains the dependencies. Any package manager worth its disk space will automaticall resolve an conflicts and install multiple versions of the libraries at standard locations if necessary. While the package's code will link to the right version.
      But you can always tell the dynamic linker to have it load libraries for a executable from different places, with environment variables. E.g. ( LD_PRELOAD=somepath/libfoo.9.0.1 myprogram )

      So really no

  • We have workalikes already.

    One might have cared a decade ago. Or two.

    Might.

  • by nyet ( 19118 )

    Anyone who can't build for linux/win/macos from the same source is a moron.

    • Seconded. I mean most languages already include generic APIs that support both POSIX and Windows APIs.

      I guess he went all-in on the Windows APIs. Which alos explains why he thinks the Linux world would need a stupid monolithic desktop app like 7zip.

    • Also agree with the sentiment, although"moron" is a bit harsh. More like he's just a lazy fuck who relies upon some IDE to manage his make instead of taking the 2 or 3 hours to learn how to use one of several meta-make systems like CMake, Meson, etc.

      Oh well.

      7zip is pretty much unnecessary anyway, unless you are stuck in some large Corp with a locked down IT infrastructure run by a real moron.

  • It is about time that POSIX-7zip catches up. Recently I had to use the windows command line version 7zip.exe through Wine to work with some archives because there were no POSIX version 19 available...

  • xz and tar work just fine.

    Desktop kiddies not understanding Unix again?

  • What about 7z and 7za? Weren't they separate from p7zip?

The computer is to the information industry roughly what the central power station is to the electrical industry. -- Peter Drucker

Working...