What is your favorite package manager?

3 years ago by iloverocks to c/unix

My favorite is pacman because it is fast af but it has really weird syntax's

Emerald_Earth 8 points 3 years ago

Debian user here, I just use apt. Really easy to use. I don't really think about being fond of a certain package manager, if it works, it works.

path: 0 107824, hotness: undefined, score: 8, children: 0
mrmanager 8 points 3 years ago

I use yay, it's pacman with AUR support. :)

path: 0 89293, hotness: undefined, score: 8, children: 9
chaorace 7 points 3 years ago

FYI: yay is no longer maintained (Untrue! See response here). Use paru instead Consider paru as an alternative option; it's written in Rust and has better version tracking for *-git packages (won't miss upgrades if the AUR version isn't tracked, won't do pointless upgrades if the AUR version changes but HEAD remains unchanged)

path: 0 89293 97063, hotness: undefined, score: 7, children: 7
gizmonicus 5 points 3 years ago

The latest release of yay was 3 weeks ago. Where are you seeing that it's not maintained anymore?

path: 0 89293 97063 105042, hotness: undefined, score: 5, children: 2
chaorace 6 points 3 years ago

Huh! I appear to have fallen victim to misinformation. I stand corrected and I apologize for not properly confirm such a strong claim before repeating it like that.

I suppose a more accurate way to put it is that yay has been slower to adopt new features (e.g.: yay#336 vs paru#260), but otherwise remains a current and well-maintained piece of software.

path: 0 89293 97063 105042 105320, hotness: undefined, score: 6, children: 1
gizmonicus 4 points 3 years ago

I was about to throw my computer out the window when you said that because I literally just implemented a bunch of ansible playbooks using yay to configure my machines and after yogurt et. al. being abandoned, I couldn't take another change. Not yet. I'll check out paru at some point though.

path: 0 89293 97063 105042 105320 105686, hotness: undefined, score: 4, children: 0
abrasiveteapot 4 points 3 years ago

Fellow paru user here - definitely a good choice.

path: 0 89293 97063 104965, hotness: undefined, score: 4, children: 0
jack 3 points 3 years ago

Fellow yay user here. Thank you for the advice, will check out paru!

path: 0 89293 97063 99023, hotness: undefined, score: 3, children: 2
chaorace 1 point 3 years ago

Looks like I made a mistake! I was misinformed about yay being unmaintained. I'm sorry about the misleading comment. I personally like paru, but if you're already using yay there may not actually be any compelling reason for you to switch.

path: 0 89293 97063 99023 105442, hotness: undefined, score: 1, children: 1
jack 4 points 3 years ago

I deeply appreciate the correction, thanks for letting me know!

I'll still check out paru at some point, but now with less anxiety about the state of yay.

path: 0 89293 97063 99023 105442 106437, hotness: undefined, score: 4, children: 0
Dathknight 6 points 3 years ago

came here to post this.

Also it always feels like I'm cheering for my system. :D

path: 0 89293 90329, hotness: undefined, score: 6, children: 0
Nick 6 points 3 years ago

Pacman, indeed.

path: 0 96577, hotness: undefined, score: 6, children: 0
july 6 points 3 years ago

apk is scary fast. Makes spinning up a quick Alpine chroot with e.g. Go or Rust for building with Musl take like 10 seconds.

path: 0 139707, hotness: undefined, score: 6, children: 0
true_blue 6 points 3 years ago

DNF. It's slow definitely but it has a lot of really cool features, and the output looks nice.

path: 0 105224, hotness: undefined, score: 6, children: 1
TwinTurbo 1 point 3 years ago

DNF transactions are excellent when you need to roll back operations!

path: 0 105224 190241, hotness: undefined, score: 1, children: 0
Illecors 5 points 3 years ago

Portage, naturally 😀

path: 0 109097, hotness: undefined, score: 5, children: 10
Sailor_jets 1 point 3 years ago
path: 0 109097 114252, hotness: undefined, score: 1, children: 2
iloverocks 1 point 3 years ago

What features does it has what other package manager doesn't have

path: 0 109097 114252 126003, hotness: undefined, score: 1, children: 1
nyan 1 point 3 years ago

No one's fielded this yet, so I'll give it a shot.

Portage offers maximum configurability: you can switch optional package features on and off. If a package feature is off, you don't need to install dependencies to support it, so it makes for a slimmer system.

You can upgrade many packages even if the distribution hasn't by copying a single small file to a new name and running two commands.

Similarly, if you're running a new or fringe architecture (like riscv) and want to try to install a package that isn't officially available for it, you can do it fairly simply (minor edit to a text file or additional parameter at the command line). Doesn't always work, but it's still easier than the configure-make-make_install dance, and the dependencies are handled for you.

Portage also supports a bunch of other fringe use cases, like pulling source straight from git and building it. And you can create simple packages by writing <10 lines of text file (well, specialized bash shell script).

On the downside, Portage is S-L-O-W. It has more complicated dependency trees to resolve than other package managers, and installs most packages by building them from source (although this isn't a requirement).

I like it, though.

path: 0 109097 114252 126003 224884, hotness: undefined, score: 1, children: 0
jcb2016 1 point 3 years ago

I used to like portage a lot when I first tried gentoo. I was like dam I really have to build every single thing. I just want this. don't get me wrong Gentoo keeps your system maintained clean and minimal but just the time compiling got my wife angry lol

path: 0 109097 109156, hotness: undefined, score: 1, children: 6
Illecors 1 point 3 years ago

It can get tedious on a single machine. Once you have enough for a binhost to start making sense... Now we're talking 🤣

path: 0 109097 109156 109198, hotness: undefined, score: 1, children: 5
jcb2016 1 point 3 years ago

I kept hearing about a binhost. is that where you have it in a VM or something?

path: 0 109097 109156 109198 109226, hotness: undefined, score: 1, children: 4
Illecors 3 points 3 years ago

It's some computing device (technically a smart toaster could do it) that shares the binaries over the network to other machines. Normally stuff is compiled for the lower common denominator when it comes to CPU architecture and supported features.

I have it as a VM, some people do it on bare metal. I'm trying to to have multiple CPU architectures supported by cheating a bit with BTRFS snapshots at the moment; time will tell if it works out.

path: 0 109097 109156 109198 109226 109339, hotness: undefined, score: 3, children: 3
Jummit 5 points 3 years ago

I'm using pacman with paru right now, but I have to say than installing flatpaks has been a really nice experience on my postmarket-os phone and on desktop as well. I am using Gnome Software to install and run with two clicks, feels very snappy.

path: 0 143791, hotness: undefined, score: 5, children: 0
0485919158191 4 points 3 years ago

I like flatpak because the apps run on all distros!

path: 0 88653, hotness: undefined, score: 4, children: 0
The_Hideous_Orgalorg 4 points 3 years ago

Portage, of course.

path: 0 90952, hotness: undefined, score: 4, children: 0
planish 4 points 3 years ago

Can it be emerge? I love calling software forth from the depths.

path: 0 91743, hotness: undefined, score: 4, children: 1
gizmonicus 3 points 3 years ago

emerge is the command but it's called Portage, ackshually. And yes, it's the best.

path: 0 91743 104905, hotness: undefined, score: 3, children: 0
ray 4 points 3 years ago

My favourite is pacman. I actually like the syntax. It feels very UNIX-y.

I'm a fan of the refresh (-y) and upgrade (-u) options being separate flags that can be used separately or together. I also find pacman's output to be very clean and readable.

Whenever I use apt, I find it slightly annoying that I need to invoke update and upgrade (and dist-upgrade) separately. I also find apt spits out a lot of unnecessary output, resulting in an unreadable wall of text.

I haven't used yum/dnf much, but the few times I used it I was slightly annoyed that it seems to insist on refreshing the repositories every time it runs.

path: 0 97628, hotness: undefined, score: 4, children: 0
Klaymore 4 points 3 years ago

Nix on NixOS - pin any version of a package you want, multiple versions of the same package, works on all Linux distros and MacOS, and with Home-Manager it can even manage your dotfiles.

path: 0 118317, hotness: undefined, score: 4, children: 0
jcb2016 4 points 3 years ago

pacman and apt are king. I usually go between arch and demon when I'm using Linux. I prefer arch since it's barbones

path: 0 103583, hotness: undefined, score: 4, children: 0
sugar_in_your_tea 3 points 3 years ago

My favorite is pacman (BTW, I really like the syntax), but I'm on openSUSE now so I deal with zypper, which works really well but I'm not a fan of the syntax.

path: 0 96474, hotness: undefined, score: 3, children: 0
sjmulder 3 points 3 years ago

I’d like to put in my 2 cents for pkgsrc

It’s not the sexiest, fastest or most full-featured but having a package manager that can bootstrap on anything even remotely smelling of Unix is awesome. And it sits cleanly next to whatever native package manager may exist.

pkgsrc drew me into NetBSD and becoming an official developer was a proud and happy moment.

path: 0 140281, hotness: undefined, score: 3, children: 2
TwinTurbo 2 points 3 years ago

Hey, thanks for suggesting pkgsrc! Do you have any experience using it on systems where you don't have root access, i.e. you need to install software in your home directory? Is it a good fit for such scenarios?

path: 0 140281 216924, hotness: undefined, score: 2, children: 1
sjmulder 1 point 3 years ago path: 0 140281 216924 219407, hotness: undefined, score: 1, children: 0
d4rk33 3 points 3 years ago

portage

path: 0 118422, hotness: undefined, score: 3, children: 0
burndown 3 points 3 years ago

I don't think any of them are very good, but DHL is by far the worst

path: 0 107419, hotness: undefined, score: 3, children: 0
ballogh 3 points 3 years ago

I like msi or winget

path: 0 88999, hotness: undefined, score: 3, children: 2
chaorace 6 points 3 years ago

Ah yes, the oft-forgotten furtive GNU/NT user

path: 0 88999 97136, hotness: undefined, score: 6, children: 0
sorrybookbroke 3 points 3 years ago

Chocolaty is superior

path: 0 88999 91368, hotness: undefined, score: 3, children: 0
chaorace 3 points 3 years ago

pacman and that's because the syntax is perfect. If a distro doesn't use pacman I usually don't even consider using it.

path: 0 90690, hotness: undefined, score: 3, children: 0
pax 2 points 3 years ago

homebrew, because I'm mac guy.

path: 0 169118, hotness: undefined, score: 2, children: 0
NettoHikari 1 point 3 years ago

I use Linux since 2004 and have a lot of experience with all kinds of different package managers. I use all these actively on different systems right now and I like them best in this order:

flatpak > apk > paru / pacman > portage > apt

Used to prefer portage over everything, but as I got older, with 2 little children, etc. I just don't want to use source-based stuff intensively any more. Nowadays, I prefer to just install my sheit and have it work.

path: 0 396099, hotness: undefined, score: 1, children: 0
PCChipsM922U 1 point 3 years ago

xbps

path: 0 96565, hotness: undefined, score: 1, children: 0
noshit 1 point 3 years ago

xbps, it's the fastest one I've seen but the syntax is kinda weird

path: 0 95790, hotness: undefined, score: 1, children: 0
blackstrat 1 point 3 years ago

I like apt for its syntax, I like yay for it's speed and ease compared to pacman.

Pacman has absurd option syntax, I think to deliberately make it feel exclusive. If the first thing you need to do is create a bunch of aliases or a crib sheet for basic things then it's a terrible user experience.

path: 0 465075, hotness: undefined, score: 1, children: 0
sascamooch 1 point 3 years ago

apt or pacman. DNF is pretty slow, though.

path: 0 89961, hotness: undefined, score: 1, children: 0
roomey 1 point 3 years ago

You will all hate me but... Snaps! First time I could easily roll back a bad version of thunderbird (I use it for work -office 365) which got stuck in a oauth2 login loop. I had to roll back twice (again, single command, everything just worked) then finally an upgrade where the bug was fixed.

Don't get me wrong I've pinned versions before with apt etc, but I always end up forgetting and having to remove them afterwards.

And... The only reason I was using the thunderbird snap was cause the regular apt thunderbird had some other annoying bug.

Yep.... Snaps... (Shake my head and walk away)

path: 0 113148, hotness: undefined, score: 1, children: 0
waspentalive 1 point 3 years ago

Kubuntu comes with Apt, and from time to time I use Nala too.

path: 0 259334, hotness: undefined, score: 1, children: 0
neoney 1 point 3 years ago

Nix, 100%

path: 0 290380, hotness: undefined, score: 1, children: 0
ninpnin 1 point 3 years ago
path: 0 109087, hotness: undefined, score: 1, children: 0
amanneedsamaid 1 point 3 years ago

I love dnf just for its search function, I literally cannot use apt to search for packages its so much worse than dnf in that regard.

path: 0 108301, hotness: undefined, score: 1, children: 2
ReveredOxygen 1 point 3 years ago

Dnf searches take so long to run though, whereas pacman is near instant. When I moved to fedora, I seriously miss the speed of pacman

path: 0 108301 113417, hotness: undefined, score: 1, children: 1
amanneedsamaid 2 points 3 years ago

Speed is lacking, but it always gets me the results I want. I used Arch for a short time but don't remember the experience searching for packages. (I also really liked Arch's way of naming packages)

path: 0 108301 113417 115406, hotness: undefined, score: 2, children: 0
unix

@sh.itjust.works

login for more options
2426
27
1

This is a community that is only for nerds jk. everyone who doesn't scare when seeing UNIX terminal welcome! rules:

  1. don't make comments that branch out from the main topic too much, at least please somehow relate to it.
  2. retro operating systems, e.g. discussion about them, is strictly forbidden, please make a retro community instead.
  3. please be nice for others.

go to feed...