10 ms·
7-Zip for Linux
- kd913 6y agoWhy though? There are already plenty of free tools to do this. unzip,zip,tar,gunzip,ark
- compressedgas 6y agoThose don't use LZMA. For LZMA there is 7z, xz, and lzip.
- biglost 6y agolrzip :-D
- usefulcat 6y agoAlso pixz, which can use multiple threads for decompression.
- OneLeggedCat 6y agoI spent some time a year ago comparing formats, and ended up liking pixz the most, especially being indexable. EXCEPT that according to my notes, I couldn't find any gui archiver that worked with it. Do you know if it is still that way?
- usefulcat 6y agoI've only used it from the command line, so I don't know. For my needs, the ability to use multiple threads for decompression was its killer feature.
- I_Byte 6y agoI have noticed that 7-zip offers the best compression ratio out of the options you listed above when set for maximum compression. I personally am happy to hear this news.
- krzyk 6y agoBetter than xz? And what's the difference? I alwasy though 7zip was a bit sketchy like rar archives, zips are more common on windows and on linux everywhere I see there are either gz, bz2 or xz.
- user-the-name 6y agoxz is based on LZMA, which was originally introduced by 7-Zip. xz is a much simplified version of the massively, insanely over-engineered and frankly impossible to implement 7-Zip format.
- hcs 6y agoxz doesn't have BCJ2 (though it does have an earlier BCJ filter), which allows for somewhat better compression of exes. BCJ2 produces separate streams which independently compress better. See for instance https://bugzilla.mozilla.org/show_bug.cgi?id=1514357 https://bugzilla.mozilla.org/show_bug.cgi?id=1514357, saves almost 10% on a Firefox installer (which uses 7-Zip) vs the complete update .mar file (which uses xz/liblzma).
- fanatic2pope 6y agoKeeping the options for those straight is why one of my most used command line programs seems to be atool. https://www.nongnu.org/atool/ https://www.nongnu.org/atool/
- JonathonW 6y agoI like the current bsdtar-- it's libarchive [1] based, and supports a bunch of formats (including your typical tarball formats, but also zip, 7zip, and rar archives, amongst others). [1] https://www.libarchive.org/ https://www.libarchive.org/
- Theodores 6y agoBrotli. My new goto.
- harshreality 6y agotar supports xz and even zstd now, but it's not clear those are better for all purposes than 7zip, especially since .7z is more likely to work on other OSes than .tar.compressionextension
- LinuxBender 6y agoxz is almost identical compression depending on flags used but lacks encryption. Some people use 7zip to also encrypt their files.
- kumarsw 6y agoI'm assuming it's because 7-zip (1) has widespread use on other platforms (2) supports solid compression and (3) is efficient for randomly access. There is DAR which does (2) and (3) but not cross-platform and is already esoteric on *nix platforms.
- OneLeggedCat 6y agoBeing indexable is my own favorite reason.
- tus89 6y agoHere I am thinking I have been using 7zip on Linux for years. So p7zip is a third-party port?
- chungy 6y agoIt is, yes.
- deleted 6y ago[deleted]
- augusto-moura 6y agoWe always had official posix 7zip (aka p7zip)[1] support for linux, is this a different version or a new release? Edit: read the description, so it is a different port, any any apparent enhancements though? [1]: https://www.7-zip.org/download.html https://www.7-zip.org/download.html
- gruez 6y agoit's by a different author. In the site that you linked: >p7zip is the command line version of 7-Zip for Linux / Unix, made by an independent developer. In the link for this post: >It's first version of my port of 7-Zip to Linux. >That port of 7-Zip is similar to p7zip, but it's not identical to p7zip.
- augusto-moura 6y agoYeah, commented before fully reading the description
- AdmiralAsshat 6y ago> And developer of p7zip port didn't show any activity last 4-5 years. I guess that would be why. I, too, assumed we had an actively maintained Linux port, but if the maintainer isn't doing much these days, a version closer to upstream would be great. The 7zip author by his own admission does not use Linux, though, so I'd be curious if p7zip might actually be more performant on Linux.
- 6y ago
- sumtechguy 6y agoI love the 'Some bugs were fixed.' in the changelog Almost every release.
- marcodiego 6y agoEven considering that this is for linux, I still get pretty sad whenever I see windows users running winrar. 7-zip is simpler to use, (mostly) as fast and as compressed as rar. I really see no reason windows users still use winrar.
- diarrhea 6y agoPerhaps they paid for it and it's a sunken cost fallacy.
- marcodiego 6y agoMost people I see using winrar have not paid for it. And they have to deal with the snag screen every time. I think it has to do with inertia.
- tener 6y agoCompanies tend to use it and buy new licenses due to the same inertia you mentioned. Although the more cost conscious will at some point switch to the free alternatives.
- scaladev 6y agoEducate them if you can. Whenever I see someone using crapware like bandicam I give them a link to OBS Studio and briefly describe its advantages. Same for winrar and 7zip. They usually don't know any better and were using whatever everyone else was using.
- smnrchrds 6y agoBack in the day, one of the selling points of the RAR format was that it could partition large files into multiple archives, so you could upload it in chunks, or copy it to multiple flash drives or CDs. Have other archive formats caught up with this feature?
- marcodiego 6y agoI don't know, but I think such feature would be way less valuable today.
- ixtli 6y agoIs there a non-sourceforge mirror? My pi.hole lists block that domain, and likely for good reason.
- hansel_der 6y agolol yea, sourceforge went throu a lot of sketchy shit but nothing an adblocker and common sense could not defeat.
- moistbar 6y agoFor a while they were bundling in spyware with popular downloads, which would not have been stopped by an adblocker, and common sense would have dictated it wasn't there to begin with. They've since stopped now that the site has changed hands again, as far as I know.
- unixhero 6y agoWell they laced their downloads with malware for a period.
- topkeks 6y agoIt's a malware site.
- 1MachineElf 6y agoAbout a month ago, the cross-platform product I support had a group of developers considering standardizing on 7-Zip, only to realize that p7zip - what most Linux users consider 7-Zip - is actually a 3rd party project. Had this come out a month ago, it might have actually swayed their decision.
- foobarbecue 6y agoBy the way, do people use unar? It's a great solution I stumbled upon for when you want to be like "I don't know or care how this was compressed, just extract it for me"
- chenxiaolong 6y agoI use bsdtar for a similar purpose. It’s part of the fantastic libarchive[1] project and supports every format I’ve thrown at it so far. [1] https://www.libarchive.org/ https://www.libarchive.org/
- user-the-name 6y agoIt supports a lot fewer formats than unar does.
- Koshkin 6y ago7-Zip is the first of the three programs I install on Windows before anything else (the other two being VLC and Sumatra PDF; I wish Sumatra were available on Linux, but evince is not bad as a replacement).
- ducktective 6y agoTake a look at Zathura. https://m.youtube.com/watch?v=V_Iz4zdyRM4 https://m.youtube.com/watch?v=V_Iz4zdyRM4
- ziml77 6y ago7-Zip is the first thing I install alongside Firefox and Everything Search. Firefox is less of an absolute requirement with Chromium Edge but I need 7-Zip and Everything Search.
- MeinBlutIstBlau 6y agoSumatra is an incredible piece of pdf viewing software. The fact that I can just alter some css and make my own dark mode and that is not a bloated piece of annoying garbage like acrobat will keep me using it on windows machines forever.
- bombcar 6y agoDoes 7-zip support multiple processors like pbzip2 or similar tools?
- LinuxBender 6y ago[Update / Edit] I just spun up a VM with 20 cores and p7zip uses all of them without any flags. Version 16.02 from the EPEL repo. No idea how this new build differs.
- qalmakka 6y agoI hope 7-Zip will support Zstandard someday, .tar.zst is getting more and more common and having to point people on Windows to install either modern7z (7z plugin for several new compression algorithms) or use zstd from the CLI is complicated.
- omgtehlion 6y agohttps://www.tc4shell.com/en/7zip/modern7z/ https://www.tc4shell.com/en/7zip/modern7z/ windows-only, though (and 3rd-party)...
- qalmakka 6y agoThat's exactly what I quoted in my comment. It's not necessary on Linux though, given that every environment ships a good archiving program (like Ark or File Roller) that supports zstandard.
- sigzero 6y agoI have never seen a .zst file. Just a comment.
- sunstone 6y agoIs source forge still a thing? I thought it had degraded into some kind of click bait, virus infested spam bot farm about ten years ago. Is it back?