News for hackers. Stuff that matters.
Re:7-Zip for Linux by tus89 on Thursday March 11, 2021 @01:43PM (#26427424)
Here I am thinking I have been using 7zip on Linux for years. So p7zip is a third-party port?
Re:7-Zip for Linux by chungy on Thursday March 11, 2021 @02:01PM (#26427662)
It is, yes.
Re:7-Zip for Linux by qalmakka on Thursday March 11, 2021 @02:58PM (#26428309)
I 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.
Re:7-Zip for Linux by kiririn on Thursday March 11, 2021 @04:41PM (#26429339)
I’ve always been confused by the popular choice of compression on tar archives. If a small portion of a gz, xz, zst, etc archive is corrupted you lose everything after it, defeating the purpose of using a stream format like Tar.

The algorithms that can recover data after the corruption like bzip2 and lzip don’t see much use these days

Re:7-Zip for Linux by dTal on Thursday March 11, 2021 @05:05PM (#26429614)
99.9% of the time, if a .tar.gz archive is corrupted, I don't want to recover the data - I want to redownload it from a different mirror because it's source code and it probably won't work with any corruption at all.
Re:7-Zip for Linux by TonyTrapp on Friday March 12, 2021 @06:13AM (#26434486)
Sometimes you have no choice. Downloading historic archives of which there is no other copy, trying to recover of it as much as possible.
Re:7-Zip for Linux by __s on Thursday March 11, 2021 @04:47PM (#26429420)
Two reasons:

- if you know tar supports your directory / metadata, you don't have to lookup if zst will preserve that info

- interfile compression

I don't think people would say they use tar because it's a stream format. They use it because it packages files/directories into a file

Re:7-Zip for Linux by zeepzeep on Friday March 12, 2021 @02:15AM (#26433011)
I only use it for keeping file permissions
Re:7-Zip for Linux by evil-olive on Thursday March 11, 2021 @09:54PM (#26431770)
In the common case of receiving a compressed tar over the network, it should hopefully be protected by at least a checksum or hash, if not a cryptographic signature.

If I expect I may have to deal with some form of data corruption (such as long-term archival media), I'd rather add a layer such as PAR2 [0]. Rather than content myself with "if the tar file is corrupted, I can probably recover most of the contents", erasure coding gives me confidence that I can definitely recover all of the contents, with confidence they're not corrupted, as long as I have enough parity data.

0: https://en.wikipedia.org/wiki/Parchive

Re:7-Zip for Linux by qalmakka on Sunday March 14, 2021 @06:41AM (#26454210)
Nobody uses Tar like that anymore. Tar is used as a more flexible replacement for ZIP nowadays, it could have easily been CPIO but `tar` had a much better command line interface.
Re:7-Zip for Linux by omgtehlion on Thursday March 11, 2021 @03:10PM (#26428439)
https://www.tc4shell.com/en/7zip/modern7z/

windows-only, though (and 3rd-party)...

Re:7-Zip for Linux by qalmakka on Thursday March 11, 2021 @03:25PM (#26428585)
That'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.
Re:7-Zip for Linux by sigzero on Thursday March 11, 2021 @04:04PM (#26428985)
I have never seen a .zst file. Just a comment.
Re:7-Zip for Linux by unixhero on Friday March 12, 2021 @01:35AM (#26432779)
Me neither, never. Buy if Arch is doing it, then I am sure it is worthwhile.
Re:7-Zip for Linux by qalmakka on Sunday March 14, 2021 @06:39AM (#26454199)
Zstandard is getting ubiquitous everywhere: inside of RPMs, as a way to compress data onto filesystems (both Btrfs and ZFS support it) and in several other applications. It decompresses much much faster than XZ while offering a comparable level of compression (XZ is still better, but at with an unreasonably worse computational cost).

The fact .tar.zst or .tzst isn't supercommon (yet) is for the same reason .tar.xz took years to become widely adopted: lots of OSes still ship `tar`s that don't support it out of the box, like Windows (which only supports gzip actually) and macOS (which ships an old version of bsdtar and no libzst). On a reasonably new Linux, is like opening every other kind of tar.

Re:7-Zip for Linux by chungy on Thursday March 11, 2021 @04:38PM (#26429316)
They're becoming increasingly common, especially if you ever pay attention to Linux packaging.
Re:7-Zip for Linux by moistbar on Thursday March 11, 2021 @04:42PM (#26429356)
The majority that I've seen have been .tar.xz
Re:7-Zip for Linux by axaxs on Thursday March 11, 2021 @07:14PM (#26430727)
Arch, arguably one of the most prolific user bases, uses zst.
Re:7-Zip for Linux by Emanation on Friday March 12, 2021 @07:27AM (#26435048)
Only time ive seen it was while installing zsh for git bash.
Re:7-Zip for Linux by marcodiego on Thursday March 11, 2021 @02:31PM (#26428000)
Even 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.
Re:7-Zip for Linux by franga2000 on Thursday March 11, 2021 @02:44PM (#26428160)
WinRAR is much easier to use than 7-zip in my experience. PeaZIP is easier than both, but WinRAR still wins on the "you don't actually need to know what a zip file is" point. It's both a blessing and a curse though - I've had a couple of situations where people were running portable programs from zip files and promptly losing their work once they closed WinRAR.
Re:7-Zip for Linux by pitaj on Thursday March 11, 2021 @03:00PM (#26428343)
> WinRAR is much easier to use than 7-zip in my experience.

In what way?

Re:7-Zip for Linux by franga2000 on Thursday March 11, 2021 @03:10PM (#26428443)
The big icons make way more sense and more things have icons, the ".." line is more natural than the dedicated "dir up" button, the "create archive" dialog is more organized and its options more discoverable...

And when you run an executable from it, it (I think) unzips the whole archive, not just the file, so DLLs etc. can be loaded properly. Just saves some effort and thinking when you need it and doesn't make a difference when you don't

Re:7-Zip for Linux by auganov on Thursday March 11, 2021 @04:33PM (#26429261)
Never compared archivers at length, cannot speak as to the actual features. But 7z has this distinct unfinished open-source GUI tool look. That's all I remember about it. It may or may not be true that it has poor UX. But the aesthetics certainly do signal this. Personally, on Windows I used 360压缩 which seems to be a better looking winrar clone without nag screens. On Linux it's "atool -x" for extracting (there's no decent Linux file explorer, so the main selling point of archiver guis is moot too).
Re:7-Zip for Linux by moistbar on Thursday March 11, 2021 @04:43PM (#26429372)
> there's no decent Linux file explorer

Dolphin, PCManFM, and MC would all like a word with you.

Also, 7Zip is no harder to use than the built-in Windows zip extractor if you use the context menu.

Re:7-Zip for Linux by unixhero on Friday March 12, 2021 @01:36AM (#26432785)
Thunar, will also want to have a say
Re:7-Zip for Linux by ZoomZoomZoom on Thursday March 11, 2021 @06:42PM (#26430477)
> there's no decent Linux file explorer

There's Double Commander, which also works great on Windows and beats sibling-mentioned Dolphin and even PCManFM hands down.

There's also Ranger and nnn, if you need a CLI and don't want an orthodox file manager.

Re:7-Zip for Linux by subsection1h on Thursday March 11, 2021 @06:33PM (#26430415)
> there's no decent Linux file explorer

If this is true (and I wouldn't know because I haven't had a GUI file manager on my Linux desktop since the early 2000s), it's because GUI file managers are for casuals.

Re:7-Zip for Linux by MeinBlutIstBlau on Thursday March 11, 2021 @08:19PM (#26431198)
7zip is hard to learn because it's straight to the punch with no BS. Regular people don't like that stuff. They want nice visuals and receive cognitive dissonance for something they pay for.
Re:7-Zip for Linux by franga2000 on Friday March 12, 2021 @02:50AM (#26433227)
Cognitive dissonance?? Do you see how full of yourself you are being? Other people like something different than what you like - deal with it!
Re:7-Zip for Linux by badsectoracula on Friday March 12, 2021 @12:56AM (#26432584)
WinRAR is better as an archiving tool than 7zip. It has more features, recovery records, a much better self-extracting generator (7zip's is laughably primitive), more ways to compress files (e.g. compressing multiple folders into separate archives) and it is also much faster than 7zip when compressing. Also AFAIK it is the only that supports NTFS streams, though i'm not sure how often that is needed (but might be, e.g. for preserving the downloaded status of files).

And very annoyingly, 7zip has had for years a race condition where when you open a file inside an archive, it extracts the file in the temporary folder and then... it deletes it before the associated application manages to load it. It is hit and miss when it works - often it does, but then for some reason i haven't figured out it just deletes the file. And related to that 7zip extracts only the file you double click on, so e.g. it doesn't extract any data files an executable might need or images or subpages an HTML file may refer to.

I have both installed and in my experience WinRAR is by far the better tool when it comes to handling archives with the main exception (and the only reason i have 7zip installed) being that 7zip supports extracting from far more archive formats - including disk images (i use it all the time to extract files from VirtualBox, PCem, etc disk images and seems to support a variety of file systems too).

Re:7-Zip for Linux by jug on Friday March 12, 2021 @05:04PM (#26441550)
Yes — what 7zip has going for it is that it’s free, good format support and probably usually slightly better compression ratio. But that’s basically it. WinRAR is a very competent archiver tool where you might prefer it for many reasons. One annoyance I have with 7zip is its surprising number of non-implemented features. Just today I tried dragging a file to replace an existing and got the message “access denied”. That was like code for “not supported” because deleting the file first worked. Sometimes you do get sudden “not implemented” though for the most basic operations even after all these years.

I’m not dissing Igor Pavlov. He’s a very skilled developer as for compression format development. But he ought to get some assistance on the archiver software front.

Re:7-Zip for Linux by smnrchrds on Thursday March 11, 2021 @02:38PM (#26428077)
Back 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?
Re:7-Zip for Linux by agurk on Thursday March 11, 2021 @02:47PM (#26428198)
I was about to reply a little snarkily that I was doing this with zip archives on floppy disks back in the 90s. I thought I might as well check my facts before posting, and it looks like that was a part of WinZip that was not part of the standard.

In 2015 ISO published a standard pertaining to zip archives, and one of the specifications was (from Wikipedia):

  Archives may not span multiple volumes or be segmented.
There are also multiple forum posts when you search for multipart zip archives of Linux users asking how to decompress them, suggesting that this is only WinZip behaviour and not common to the zip standard.
Re:7-Zip for Linux by marcodiego on Thursday March 11, 2021 @04:53PM (#26429484)
I remember people using arj exactly because of that feature. Compression with arj was worse than zip but people used it because you could divide an arj archive in floppies. At the time, rar could do it too, but it only got popular later.
Re:7-Zip for Linux by diggernet on Thursday March 11, 2021 @04:10PM (#26429047)
I had the same reaction, but checked a different set of facts than you did. PKZIP 2.04g (which at the time was the standard) supported split archives, in January 1993. WinZip added support in version 8.1, in 2001.

Edit: I just found the page where you got your quote. Looks like ISO was deliberately defining a subset of ZIP.

Re:7-Zip for Linux by scaladev on Thursday March 11, 2021 @02:43PM (#26428155)
Caught up? tar has had this for a few billion years at least:

  $ tar cazf - file1 file2 | split -b 700m - out.tgz
7zip also natively supports splitting for as long as I can remember.
Re:7-Zip for Linux by progval on Thursday March 11, 2021 @02:47PM (#26428204)
You didn't address this:

> or copy it to multiple flash drives or CDs

How would you use 'split' without either dumping the whole archive on disk or pluggin all drives at the same time?

Re:7-Zip for Linux by epmos on Thursday March 11, 2021 @03:36PM (#26428713)
tar was designed for tape, so you can specify a volume size for the output and it will break it's output into segments of that size. Using split isn't required.

The options in gnu tar are -L and -M for specifying tape length (in KB) and creating multi-volume archives.

The -L version is handy as it can prompt you to change the "tape". It has built-in tape handling as well, if you are using a real tape that can be controlled via mt.

Apparently (just checked info) it supports an arbitrary command to execute at the end of each archive. That would be handy for burning CDs, though I don't remember that feature from when I used floppies or QIC-40 to move files from one machine to another.

Around 1991-ish I would use these options to put archives onto stacks of floppy disks. The floppies didn't have a filesystem, just blocks of tar archive. In the days of 9600 bps modems, this was often the fastest way to move stuff to another machine. I had an often-reused stack of 3.5in HD floppies labeled with numbers for this purpose.

Re:7-Zip for Linux by fogihujy on Thursday March 11, 2021 @04:53PM (#26429491)
ARJ had that feature and it predates RAR by a few years.
Re:7-Zip for Linux by ReactiveJelly on Thursday March 11, 2021 @11:58PM (#26432357)
Isn't that just the same as splitting any file into multiple chunks? Why does the archive format have to know about it? For non-solid compression? Otherwise, any file can be split up and re-combined at the other end, unless you don't have the hard drive space to recombine it.

The only way I've seen RAR used in torrents is to package everything into one big file, and since they're usually video or audio that already has lossy compression, and since I may want to prioritize or skip certain files, it's both pointless and annoying.

Re:7-Zip for Linux by marcodiego on Thursday March 11, 2021 @02:41PM (#26428125)
I don't know, but I think such feature would be way less valuable today.
Re:7-Zip for Linux by tener on Thursday March 11, 2021 @02:46PM (#26428182)
There are niche uses, mostly with some forms of file sharing with limited file size. For example email attachments, but not only this.
Re:7-Zip for Linux by sitzkrieg on Thursday March 11, 2021 @02:43PM (#26428147)
true but its still used heavily on eg usenet binaries, and nzb tools run the 100s of unrar for you not unlike the gui
Re:7-Zip for Linux by tener on Thursday March 11, 2021 @02:45PM (#26428169)
7zip for sure has. It actually supports it for more than just 7z format.
Re:7-Zip for Linux by eps on Friday March 12, 2021 @05:16PM (#26441628)
Multiple floppies! Floppies... "flash drives"... pfft.
Re:7-Zip for Linux by Mojave3 on Thursday March 11, 2021 @05:14PM (#26429676)
I mostly use 7zip but I've had a number of archives in the past that would simply not properly extract using 7zip and WinRAR had no issues with. 7zip is fine, however I don't see it as superior really in any notable way. I don't understand why everyone is crazy over it at this point. It's good, but so is WinRAR. Why is it sad for people to use one good program over the other when they both accomplish the same thing in about the same way? There's very little special about 7zip for typical day to day use.
Re:7-Zip for Linux by devwastaken on Thursday March 11, 2021 @02:46PM (#26428190)
7zip does not properly handle japanese character sets on Windows. Winrar does, though you have to specify the language.
Re:7-Zip for Linux by pitaj on Thursday March 11, 2021 @02:59PM (#26428327)
In the UI? In file names? In the file contents?
Re:7-Zip for Linux by fredoralive on Thursday March 11, 2021 @03:22PM (#26428566)
I have vague memories that things like Shift JIS file names get scrambled? IIRC it was a case of it using the users default non-Unicode / “ANSI” codepage instead of offering a selection like Winzip apparently does.
Re:7-Zip for Linux by devwastaken on Friday March 12, 2021 @02:06AM (#26432955)
In the extracted contents. Various assets for Unity would come with folders and file names in Japanese. 7zip would extract them without the proper names and so all relative patching would be completely messed.

Winrar does it fine.

Re:7-Zip for Linux by alternatetwo on Thursday March 11, 2021 @06:57PM (#26430584)
I use winrar because it can add a recovery record to the file, so if the file gets corrupted some years down the line I can hopefully repair the archive. 7z cannot do this, unless you create extra par2 files next to it afterwards.
Re:7-Zip for Linux by LinuxBender on Thursday March 11, 2021 @02:53PM (#26428255)
The only thing that comes to mind is the lack of par files or some equivalent construct.
Re:7-Zip for Linux by diarrhea on Thursday March 11, 2021 @02:33PM (#26428016)
Perhaps they paid for it and it's a sunken cost fallacy.
Re:7-Zip for Linux by marcodiego on Thursday March 11, 2021 @02:40PM (#26428108)
Most 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.
Re:7-Zip for Linux by scaladev on Thursday March 11, 2021 @02:50PM (#26428226)
Educate 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.
Re:7-Zip for Linux by tener on Thursday March 11, 2021 @02:47PM (#26428201)
Companies 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.
Re:7-Zip for Linux by MikusR on Thursday March 11, 2021 @02:54PM (#26428263)
Recovery records.
Re:7-Zip for Linux by hansel_der on Thursday March 11, 2021 @02:52PM (#26428244)
maybe they want to unpack rar-archives?
Re:7-Zip for Linux by pitaj on Thursday March 11, 2021 @03:00PM (#26428333)
You can do that with 7zip IIRC
Re:7-Zip for Linux by marcodiego on Thursday March 11, 2021 @03:16PM (#26428501)
AFAIK there're opensource decompressors for rar files. Except for RAR6 which are definitely not very common.
Re:7-Zip for Linux by alternatetwo on Thursday March 11, 2021 @06:58PM (#26430598)
In fact, unrar has been open sourced by WinRAR themselves. Or rather, they made the source available, with certain conditions, i.e. not using it to reverse engineer the rar format.
Re:7-Zip for Linux by Koshkin on Thursday March 11, 2021 @02:39PM (#26428096)
7-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).
Re:7-Zip for Linux by ducktective on Thursday March 11, 2021 @02:42PM (#26428136)
Re:7-Zip for Linux by MeinBlutIstBlau on Thursday March 11, 2021 @08:21PM (#26431211)
Sumatra 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.
Re:7-Zip for Linux by ziml77 on Thursday March 11, 2021 @05:28PM (#26429792)
7-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.
Re:7-Zip for Linux by 1MachineElf on Thursday March 11, 2021 @02:36PM (#26428053)
About 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.
Re:7-Zip for Linux by augusto-moura on Thursday March 11, 2021 @01:43PM (#26427434)
We 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

Re:7-Zip for Linux by AdmiralAsshat on Thursday March 11, 2021 @01:48PM (#26427509)
> 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.

Re:7-Zip for Linux by wnoise on Thursday March 11, 2021 @02:22PM (#26427904)
> the maintainer isn't doing much these days,

Is there much to do?

Re:7-Zip for Linux by kasabali on Friday March 12, 2021 @03:57AM (#26433577)
It works but it's fork of 5yo code base and upstream had several releases in the meantime
Re:7-Zip for Linux by kumarsw on Thursday March 11, 2021 @02:40PM (#26428104)
Does this fix the issue of 7zip not supporting unix file permissions? I recall that was the main issue everyone hated the 7zip linux port.
Re:7-Zip for Linux by LinuxBender on Thursday March 11, 2021 @02:58PM (#26428314)
I don't know the answer to your question, just adding that you can work around that by using tar to preserve ownership, permissions, extended attributes, selinux contexts, then use 7zip on that tar file. This can all be done in pipes in one command line.
Re:7-Zip for Linux by chungy on Thursday March 11, 2021 @04:29PM (#26429238)
At that point, you might as well just use xz and skip 7z
Re:7-Zip for Linux by gruez on Thursday March 11, 2021 @01:45PM (#26427462)
it'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.

Re:7-Zip for Linux by augusto-moura on Thursday March 11, 2021 @01:47PM (#26427490)
Yeah, commented before fully reading the description
Re:7-Zip for Linux by foobarbecue on Thursday March 11, 2021 @02:38PM (#26428089)
By 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"
Re:7-Zip for Linux by chenxiaolong on Thursday March 11, 2021 @03:15PM (#26428489)
I 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/

Re:7-Zip for Linux by user-the-name on Thursday March 11, 2021 @07:06PM (#26430660)
It supports a lot fewer formats than unar does.
Re:7-Zip for Linux by sumtechguy on Thursday March 11, 2021 @02:12PM (#26427783)
I love the 'Some bugs were fixed.' in the changelog

Almost every release.

Re:7-Zip for Linux by sunstone on Saturday March 13, 2021 @10:54AM (#26447364)
Is 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?
Re:7-Zip for Linux by ixtli on Thursday March 11, 2021 @02:35PM (#26428039)
Is there a non-sourceforge mirror? My pi.hole lists block that domain, and likely for good reason.
Re:7-Zip for Linux by hansel_der on Thursday March 11, 2021 @02:55PM (#26428279)
lol

yea, sourceforge went throu a lot of sketchy shit but nothing an adblocker and common sense could not defeat.

Re:7-Zip for Linux by moistbar on Thursday March 11, 2021 @04:47PM (#26429417)
For 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.
Re:7-Zip for Linux by unixhero on Friday March 12, 2021 @01:38AM (#26432798)
Well they laced their downloads with malware for a period.
Re:7-Zip for Linux by kd913 on Thursday March 11, 2021 @01:38PM (#26427367)
Why though? There are already plenty of free tools to do this.

unzip,zip,tar,gunzip,ark

Re:7-Zip for Linux by I_Byte on Thursday March 11, 2021 @01:42PM (#26427419)
I 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.
Re:7-Zip for Linux by krzyk on Thursday March 11, 2021 @04:31PM (#26429252)
Better 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.

Re:7-Zip for Linux by user-the-name on Thursday March 11, 2021 @07:08PM (#26430670)
xz 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.

Re:7-Zip for Linux by hcs on Friday March 12, 2021 @03:22PM (#26440427)
xz 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, saves almost 10% on a Firefox installer (which uses 7-Zip) vs the complete update .mar file (which uses xz/liblzma).
Re:7-Zip for Linux by fanatic2pope on Thursday March 11, 2021 @01:47PM (#26427496)
Keeping the options for those straight is why one of my most used command line programs seems to be atool.

https://www.nongnu.org/atool/

Re:7-Zip for Linux by JonathonW on Thursday March 11, 2021 @02:35PM (#26428036)
I 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/

Re:7-Zip for Linux by kumarsw on Thursday March 11, 2021 @02:38PM (#26428082)
I'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.
Re:7-Zip for Linux by compressedgas on Thursday March 11, 2021 @01:42PM (#26427415)
Those don't use LZMA. For LZMA there is 7z, xz, and lzip.
Re:7-Zip for Linux by usefulcat on Thursday March 11, 2021 @02:51PM (#26428242)
Also pixz, which can use multiple threads for decompression.
Re:7-Zip for Linux by OneLeggedCat on Thursday March 11, 2021 @06:25PM (#26430345)
I 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?
Re:7-Zip for Linux by usefulcat on Thursday March 11, 2021 @10:20PM (#26431891)
I'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.
Re:7-Zip for Linux by biglost on Thursday March 11, 2021 @01:57PM (#26427627)
lrzip :-D
Re:7-Zip for Linux by harshreality on Thursday March 11, 2021 @02:33PM (#26428020)
tar 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
Re:7-Zip for Linux by LinuxBender on Thursday March 11, 2021 @02:56PM (#26428289)
xz is almost identical compression depending on flags used but lacks encryption. Some people use 7zip to also encrypt their files.
Re:7-Zip for Linux by Theodores on Thursday March 11, 2021 @02:23PM (#26427918)
Brotli. My new goto.
Re:7-Zip for Linux by OneLeggedCat on Thursday March 11, 2021 @06:20PM (#26430310)
Being indexable is my own favorite reason.
Re:7-Zip for Linux by bombcar on Thursday March 11, 2021 @02:53PM (#26428259)
Does 7-zip support multiple processors like pbzip2 or similar tools?
Re:7-Zip for Linux by LinuxBender on Thursday March 11, 2021 @03:02PM (#26428361)
[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.