this post was submitted on 29 Mar 2024
1 points (100.0% liked)

Arch Linux

7609 readers
3 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 0 points 5 months ago (3 children)
[–] [email protected] 0 points 5 months ago* (last edited 5 months ago) (1 children)

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.

[–] [email protected] 0 points 5 months ago (1 children)

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

[–] [email protected] 0 points 5 months ago (1 children)

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

[–] [email protected] 0 points 5 months ago
[–] [email protected] 0 points 5 months ago (2 children)

It provides liblzma, an implementation of the lzma compression algorithm

[–] [email protected] 0 points 5 months ago

That's why I use dz instead. It provides ligma. It's a much better compression algorithm.

[–] [email protected] 0 points 5 months ago* (last edited 5 months ago) (3 children)
[–] [email protected] 0 points 5 months ago* (last edited 5 months ago) (1 children)

Exactly. People should just use zip for their compression libraries. Way more efficient

[–] [email protected] 0 points 5 months ago (1 children)
[–] [email protected] 0 points 5 months ago* (last edited 5 months ago)

Zip and WinRAR (the paid version obviously) being a good way to do compression over ssh, clearly

[–] [email protected] 0 points 5 months ago (1 children)
[–] [email protected] 0 points 5 months ago* (last edited 5 months ago)

This looks interesting, I'm gonna watch it

[–] [email protected] 0 points 5 months ago

I don't understand what you mean by this question... Because someone decided to create it?

[–] [email protected] 0 points 5 months ago (1 children)

One purpose I know of is to snoop on users

[–] [email protected] 0 points 5 months ago