I feel in love with pacman!
Look, I've used other package managers before like dnf, apt, and pkg. Its main pro, though, is that once you've learned it, pacman does exactly what you tell it to do. I feel more in control of my system due to it.
About this post
- Posted
- Archived
- Score
- 212 · 94% up
- Kind
- Text
- ID
- vlamig
105 comments
it has always felt like one of the fastest and most straightforward package managers to use, for me at least.
I can’t agree more.
I’ve used Debian and Fedora but Pacman is just the quickest for me at least.
True...
Pacman is BEYOND kickass as a package manager. I’ve used Debian apt for years and love it, but it’s a bit slow and mirror management is clunky at best. These last few months I’ve been testing Fedora 36 on bare metal and really like the distro, but dnf leaves me feeling a bit empty in terms of power, and is almost as slow as apt.
Pacman otoh, is just freakin unreal. Yeah, the command structure is not real intuitive, but once you go through examples and play with the various switches and really start to understand it, there’s nothing else like it. Combine pacman with Reflector and holy shit, package management almost becomes fun. 😀
You can make dpkg/apt pacman-fast by disabling
fsync()withlibeatmydata. I just wish you could do the converse inpacman, i.e. enablefsync()for package installations to reduce damage on interrupted upgrades. :((You can do it in a hook, but that's only before and after all packages finished installing...)
dnf is by far the slowest package manager I've used on Linux. It has some nice features though, like the history/transaction support.
Guess you never used yum? Lucky you ;)
I've packaged some stuff for Debian/Ubuntu recently and while imo the official packaging tooling is nearly all pretty much unusable (I ended up pretty much cloning how PKGBUILDs work haha) there is one thing that I think is great about dpkg that I don't think pacman has: dpkg-divert, it allows you to move files installed by packages around in a way that the package manager knows about, e.g. you can make a package that moves another package's program somewhere else, then installs a script in that location which calls the original program but you can customize how, and then next time the other package updates, it will respect the moved path. It's great for overriding/customizing parts of packages without modifying the package itself. You don't even have to make a new package that uses it, you can just use it as is to move system files around from the command line.
Curious, how dnf left make you feel a bit empty in terms of power? Isn’t dnf more feature rich than pacman?
Are you aware of parallel downloading yet ? It's a game changer.
What's parallel downloading? Just curious
For more fun you can add ILoveCandy to
/etc/pacman.confto get a nice Pacman eating the dots in place of the progress barDeleted before we saved it.
It's like feeding
pacmansteroids while she's installing and updating packages.https://ostechnix.com/enable-parallel-downloading-in-pacman-in-arch-linux/
O,_O
apt also has this enabled by default but yeah, pacman's implementation is really good!
Um.... thanks I guess! :P
do you not feel in love, too?
Now KISS!
Pacman is my hero too.
There's a helper for pacman called Yay, you can download it from the AUR. It manages packages from the AUR automatically with the same syntax as Pacman. Highly recommend it!
Paru (or paru-bin) might be better, since its identical to yay but shows you the pkgbuild whenever you try to install from the AUR and any news since your last update
yep,
yaycan also do this as far as I know with some configuration but it's massively better to do it by default IMO since AUR quality and security checks can only come from the eyes of the users. That putsparuahead ofyaywhen recommending a helper to new users.It's also written in rust :)
Is it time for me to get a new AUR helper? Is it just plug and play?
as a yay man, i approve this message.
I've been trying paru because people kept insisting on it in comments of other threads and honestly I still think yay is better and will keep using it. I was trying paru because of the building of packages and the local repo it allows creating but it's so very sensitive that it's broken very easy and docs honestly suck about it.
So, yay is good. Still miss yaourt.
paru isn't doing anything fundamentally different in building packages than yay though so it's not clear what you are talking about. Both are just using makepkg and associated libraries.
I think I’ll switch to clear linux because the performance is significantly better on my low end laptop, but damn I already miss pacman, I’ll have to use swupd 😣
It is possible to use patches from Clear Linux on Arch as well.
How?
Easier to use Gentoo then to recompile whole Arch with different optimizations, or just use clear Linux if it has your packages. It wouldn't even be Arch if you recompile the whole system with totally different options. It would be Gentoo without Portage and a lot of pain
I thought the main benefit in Clear Linux was taking advantage of specific CPU instructions during runtime, in performance-critical software. So I wonder how Clear Linux would have better performance on your low end laptop...
In case it's related to the kernel, there's an AUR package: https://aur.archlinux.org/packages/linux-clear
Idk but the whole system and desktop (I use gnome) feels very, very smooth if compared to any other distro.
here ya go, buddy. -- https://github.com/icy/pacapt
Wait till you've tried emerge
portage
emerge is just the command
It's the command that I love.
I have gotten so used to Arch Linux that I sometimes take pacman for granted when I tried other distros. Other package managers feel so slow. Especially the GUI version. Dnf takes forever in building cache for example.
well, slow or not, i still can't remember the damn commands. i installed this wrapper -- https://github.com/icy/pacapt -- on my Debian box and aliased it to "yay." it's still not the same, but at least i don't have to open the rosetta page on the arch wiki to figure out how to install or search for an application.
If you ever have to use Windows again, you can install pacman via MSYS2
I love how fast pacman is, but after coming from "apt install" and "yum/dnf install" I keep finding myself wanting to type 'pacman install" instead of "pacman -S." So much that I had to set up BASH aliases and it makes me wonder why it's -S (search, I get it) instead of install. :)
No complaints about how it works though though, that's just me carrying over habits from the RHEL machines I manage at work. ;)
Nope, -S stands for Sync (I.e. sync your installed package with the latest version on the mirrors)
Except it's also used to install packages, so I'm not sure how that would work unless it also means Search for (and install) package. Not that it matters a lot, it's definitely -S and not "install". At least -R is "remove" :)
Actually it's sync not search
https://youtu.be/Nm-ISatLDG0
Dude this music’s nice but why share it here? 😂
Title reminded me of it.
pacman and portage (i drive gentoo now) are my favorite package managers, check out parallel downloads (i set it to 50 for some glorious install speeds).
You made me remember about whatever package manager that Zenwalk had (it was a Slackware based distro) when I used it years ago before coming to arch. It was chill, but don't remember details.
I use Arch (endeavour actually) and I never use pacman, just yay so I can install/update programs both from the system repos or the AUR
I love pacman too but once I tried yay I'm never going back. It's essentialy just an alias for pacman except that it automatically searches through AUR with yay -S(s) an it includes AUR installed packages when you do upgrade, yay -Syu. Makes life a lot simpler.
I am building a package manager , what feature do you miss on pacman/apt/dnf
make sure the output is formatted nicely so it's actually human-readable.
that's the thing about apt and other packages managers that blow my mind. everything is jumbled together. a few control codes and or color codes go a LONG way, in my opinion.
Oh, good luck! apt and dnf have a straightfoward syntax. pacman allows us to remove packages not directly installed through 'pacman -R $(pacman -Qtd'. apt and pacman are faster on building cache. Those are the main stuff I like in them.
Thanks , also , whet syntax do you prefer , for now I’m going with -i or —install to install packages and -s or —sync to download the database , and -r or —remove to remove a package. Any suggestions ?
PacMan the reason I run mainline arch for. It’s the best thing to of happened
^of^haveikr, pacman bess
Love the power of pacman and you don't mind waiting?
Then you'll love portage. Maybe you don't want to hear your fans, that's fine. zypper
Because it comes from arch, most lightweight and fastest distro😄
I agree. I love pacman. I also run KDE, but I do all of my installs and updates with pacman, it is rock solid and is far more reliable imo.
Agreed
Far Manager?
dual booted debian for 6 or 7 years. when i switched to arch i finally felt like i was able to fully ditch windows. hard drive failure may have pushed me there, but after a month im not gonna be looking back, pacman is by far my favourite pck manager too!
Check out https://www.reddit.com/r/archlinux/comments/dsnu81/hear_ye_archers_share_your_pacman_hooks/