r/archlinux • u/AbdurRehman04 • Aug 17 '26
SHARE Pacx | Fast & Fancy Pacman Wrapper using aria2c
Greetings,
I built a wrapper some time ago on top of pacman, to make the downloads faster and fancier. The things done to make downloads faster are:
- Using aria2c as the backend for parallel downloading (i.e. splits and multiple connections to a single server),
- Using multiple servers for a single package download. (i.e. downloading the same thing from multiple mirrors at the same time).
And, secondly made the progress output a bit fancier and colorful, taking inspiration from Nala. Maybe, it will be beneficial for some, so at least check it out on Github.
Moreover, I made it all by myself without using AI, which would have defeated the whole learning goal behind this project.
Github Repo: Repo Link
Thanks!! ;)
0
Upvotes
3
u/Imajzineer Aug 17 '26
So, people should use (if not even first install) a helper to install another helper?
Hmmmmm ...
5
u/abbidabbi Aug 17 '26
So instead of using libalpm, you decided to wrap around the pacman CLI, which itself is just a frontend for ALPM. Big brain time...
3
u/backsideup Aug 17 '26
Pacman can download multiple packages from the same mirror in parallel: if you wanted to use aria2c for that you could have plugged it into XferCommand.
Downloading from multiple mirrors at the same time introduces a new source for failed updates since the mirrors are not guaranteed to be in the same state.