20

Now using Zstandard instead of xz for package compression

 4 years ago
source link: https://www.archlinux.org/news/now-using-zstandard-instead-of-xz-for-package-compression/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

As announced on themailing list, on Friday, Dec 27 2019, our package compression scheme has changed from xz (.pkg.tar.xz) tozstd (.pkg.tar.zst).

zstd and xz trade blows in their compression ratio. Recompressing all packages to zstd with our options yields a total ~0.8% increase in package size on all of our packages combined, but the decompression time for all packages saw a ~1300% speedup.

We already have more than 545 zstd-compressed packages in our repositories, and as packages get updated more will keep rolling in. We have not found any user-facing issues as of yet, so things appear to be working.

As a packager, you will automatically start building .pkg.tar.zst packages if you are using the latest version of devtools (>= 20191227).

As an end-user no manual intervention is required, assuming that you have read and followed the news postfrom late last year.

If you nevertheless haven't updated libarchive since 2018, all hope is not lost! Binary builds of pacman-static are available from Eli Schwartz'personal repository, signed with their Trusted User keys, with which you can perform the update.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK