Jump to content
securitybreach

Archlinux News: Now using Zstandard instead of xz for package compression

Recommended Posts

securitybreach
Quote

 

Now using Zstandard instead of xz for package compression

As announced on the mailing list, on Friday, Dec 27 2019, our package compression scheme has changed from xz (.pkg.tar.xz) to zstd (.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 post from 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.

 

https://www.archlinux.org/news/now-using-zstandard-instead-of-xz-for-package-compression/

Share this post


Link to post
Share on other sites
V.T. Eric Layton

Hmm... that's interesting.

  • Like 1

Share this post


Link to post
Share on other sites
V.T. Eric Layton

Reminds me of a few years back when Slack changed its compression method.

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...