Jump to content

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


securitybreach
 Share

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/

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...