369
submitted 7 months ago by Fubarberry@sopuli.xyz to c/archlinux@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] SubArcticTundra@lemmy.ml 13 points 7 months ago
[-] shirro@aussie.zone 21 points 7 months ago* (last edited 7 months ago)

It is a compression library that is in the dependency tree for a large number of other packages though not as many as zlib which is in practically everything.

xz development appears to have been compromised by some organisation in a long game targeting sshd in Debian and derivatives. Debian maintainers have a nasty habit of adding lots of patches to upstream sources which occasionally have unintended consequences. I am a long term Debian user but I wish they would stop doing this. Thankfully arch generally doesn't modify upstream as much as Debian and arch sshd doesn't link in the backdoored library.

[-] SubArcticTundra@lemmy.ml 1 points 7 months ago

Ah I see. Are there any reasons why people would choose to use xz over zlib?

[-] Supermariofan67@programming.dev 9 points 7 months ago

It compresses much better, by a lot, as zlib/deflate is an ancient algorithm made back when computers only had a few megabytes of ram.

Nowadays though, zstd seems to be replacing both of them, as at max level it compresses about as well as xz while also being faster. Nevertheless, many programs link against all the common compression algorithms (xz/zlib/zstd/bz2) to support everything

[-] SubArcticTundra@lemmy.ml 2 points 7 months ago
load more comments (13 replies)
this post was submitted on 29 Mar 2024
369 points (99.7% liked)

Arch Linux

7175 readers
1 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS