Skip to content

When will official packages begin to use zstd compression?

I was following the mailing list discussion of switching to zstd pretty closely. It was first suggested by a user in arch-general, then the devs took up the discussion in arch-dev-public.

There seemed to be a consensus around moving to zstd at least one year after the release of libarchive 3.3.3 (Sep 2018) and soon after the release of Pacman 5.2 made it possible.

Both of those have now happened, and the recent announcement gives me hope that the switch is imminent, but the strange thing is that I can't find any discussion about it on the mailing lists since March.

Does anyone have any insight as to when we might begin to see zstd packages? Some unofficial repos are already using it. I'm hoping most of my updates are zstd by the end of the year.

Get hyped for package installs becoming twice as fast on Arch!

40 points11 comments
Open on Reddit
About this post
Posted
Archived
Score
40 · 100% up
Kind
Text
ID
dmtf90

Author

29
posts
209
comments
4
media
View profile

11 comments

I'm not quite sure about installing it twice as fast, but it's going to happen soon. We first needed 5.2.0 and we need some changes in the infrastructure to support .zstd

18 points

Fair enough, that will definitely depend on people's internet speed. In my case it's actually better than a 2x improvement, as I have a pretty old laptop and very fast internet. Great to hear that it's landing soon. If there's a bug report or mailing list thread I can follow somewhere for details, let me know. Thanks!

3 points
2019-10-23 12:25:55 <Foxboron> Devtools will get updated once we know no internal tools need more patching
2019-10-23 12:26:15 <Foxboron> Then new packages will be zst instead of xz. But it will probably take a year or two until *all* packages are zst

This is what Foxboron replied when I asked the same question in #archlinux on freenode. But I don't know when they are done with patching.

7 points

Great, thanks! Yeah, I didn't expect they would rebuild everything. But obviously this will be great for updates.

2 points

For the moment you can configure makepkg to use zstd for your AUR needs :)

6 points

Yeah, I've been using it over a year. I even patched and built my own libarchive to get it all working before that was officially released.

4 points

But probably the fastest for the AUR is not to use any compression at all.

4 points

You're right, but since I need to do some package maintaining I compress them anyway :)

2 points

It's coming soon. There's no ETA, asking for it doesn't make it happen faster. We want it to happen too, and are working towards it.

4 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.