Spyke

I'm only 4 months into Linux, and apt is my comfort zone. Checking out other distros that use something else has me running away like:

123
Laserreply
feddit.org

pacman is very fast and handy. The (in)famous pacman -Syu had you system completely up to date in record time.

Sometimes I miss its speed and simplicity

54
Engywookreply
lemmy.zip

paru entered the chat (doesn't even need -Syu).

16

I love paru, but I think my favorite thing about it is that it isn't yay.

Back when i started using Arch Yay was mega popular so I tried it. Its great, I loved it, shouldn't be a surprise I love paru too. But Yay was always my only Go app, so I'd end up installing Golag, which is gigantic, just to use yay.

5
lemmy.billiam.net

You can basically take that statement and replace “apt” with “whatever the first package tool I used” and it would be true for anyone.

39

My first package manager was YaST, then RPM, then APT. Apt rules, and while I’ve tried some more, I’m not afraid to say APT became my comfort zone.

8

tell me you have never run slackware witout telling me you have never run slackware.

4

Not true! I used yum first and it was awful. Then switched and apt made so much more sense.

1

I started with Ubuntu in the days of apt-get, and boy am I happy I got to use packman now and never add another custom repository ever again

1
fedia.io

YSK/PSA: If you're on Mint, Mint's apt is not Debian's apt and while they work similarly for common use cases, they diverge pretty quickly beyond that. Both are installed by default but Mint's takes precedence.*

Case in point: I was looking for which package - specifically one that was not yet installed - contains a certain command line tool and Mint's apt search does not find it. Debian's does. **

On the other hand, Mint's apt has way more subcommands than the default one, which have been useful on occasion.

* Mint's is at /usr/local/bin/apt and Debian's is at /usr/bin/apt; The default user $PATH puts /usr/local/bin before /usr/bin.

** FWIW, the tool is/was sponge and it's in the moreutils package.

31
Colloidalreply
programming.dev

Just use aptitude and be happy.

Disclaimer: while aptitude was originally designed to replicate the apt CLI interface, I have never run the search command through it. The TUI is marvelous, though.

6
debilreply
lemmy.world

Nowadays apt supports deleting dangling config files with apt purge "~c" so no need to have aptitude for that feature. However, aptitude why <package> is pretty handy, and if you bump into dependency problems aptitude is quite capable of suggesting valid solutions.

Disclaimer: I've never used aptitude's TUI.

6

However, aptitude why is pretty handy

Dude/dudesse, what the hell is this and why have I never heard of it? Sounds really useful on the manpage, I hope I remember it next time I need it. Thanks! 😊

3

I need to have aptitude because the TUI is boss. Even if it had less features than apt, I'd still prefer it. It's nice to know it's ahead of the curve, though.

2
startrek.website

I wonder why apt search on ubuntu and debian must be so bad: on mint each package has a single line and an easy letter telling you if the program is installed or not. On debian/ubuntu each program takes multiple lines, are all green and the only way to distinguish installed ones is to look for an (installed) string at the end of the first line. I like Mint's apt version so much

4
wazreply
feddit.uk

I wonder how this is implemented in LMDE?

6

LMDE's system is the same as regular Mint. I've been on LMDE for a few years but was on regular before that.

4
lemmy.today

don't let this type of bantering concern you

we are all just splitting hairs and knocking each other's preferences when it is basically trivial. Like BMW and Mercedes drivers trying to one up who drives the superior German car

30

For me, pacman is my comfort zone. Fast, reliable and easy to handle. But apt was it for a long time as well.

12
sh.itjust.works

sudo apt update && sudo apt full-upgrade -y

=

sudo dnf update -y

For most systems. If you can get apt you can get any of them.

12
Jankatarchreply
lemmy.world

The feds don't want you to know this but you can just put "-U" at the end of sudo apt upgrade and it updates before upgrading.

32
4amreply
lemmy.zip

If they are suppressing this, what else aren’t they telling us

15
Jankatarchreply
lemmy.world

vim has a built-in autocomplete you can use by pressing ctrl-n during interactive mode.

11

If they are suppressing this

Yup. Must be. No "-U" found in man apt.

(Is there in man apt-get though. And it works on both.).

And it does not show up in fish's option completion options on either, either.

Near 20 years of having been using apt-get (and later, apt), if I ever knew this, I forgot. Could have been doing just one command all this time.

what else aren’t they telling us

2
tomiantreply
piefed.social

See, now why did you have to ruin these last few days of peace for me like that?

6
udonreply
lemmy.world

Don't panic, apt+flatpak does everything very well, if all you need is a working computer. If you need a hobby, try nix or guix

4

Or for the ultimate hobby to dedicate to, cave.

(Prizes for any who even know which package manager and distro that's from.)

2
devfuuureply
lemmy.world

Exactly what I feel when I look or have to interact with anything that doesn't have pacman 😅

3
piefed.world

I have to admit that I love the "pacman" pun quite a bit, which is nearly enough by itself to convince me to try it. One day. Maybe.

2
BurntWitsreply
sh.itjust.works

I can’t lie, that’s one of the reasons I moved over to CachyOS a few months back. It’s not the only reason, but it’s been my favourite distro for sure that I’ve tried. It’s the first one that really felt good to me.

3

It's really a great distro, I've been using it fulltime on laptop and PC for over a year. Best one I've tried so far and for some reason it's less buggy than EndeavourOS was for me. The only thing I don't like about it is the name.

4
inzenreply
lemmy.world

But what about pacman -Ss Sync search? P.S. I like pacman, just that this combination of flags is a bit weird for me personally.

2
inzenreply
lemmy.world

But I do, do that regularly. Why is it improper?

1

I'm just going Based on the man page I linked. s isn't listed as a subflag of S so i've never thought to use it.

I just checked that again and I'm totally wrong. Disregard me I guess.

2
inbeeseereply
lemmy.world

Everyone knows how to read, not everyone will feel comfortable reading the flags.

1

The thing I don't like about zypper is that it is missing functionality

the equivalent of apt autoremove has to be done through YaST
an equivalent for apt purge does not exist

4
manololreply
lemmy.ml

You can use these abbreviations with DNF too, by the way.

3

emerge

is the shortest to type.

Gentoo is the fastest package manager for the user. ;D

1

Why?

It was what I started on. Before ubuntu existed. Was not scary.

1
lemmy.zip

Its an excerpt from pacman's configuration file, first line makes the progress bar a pacman that eats dots while downloading packages, the second line is self explanatory and the third allows to download multiple packages at the same time so there are 15 pacmans at all times while downloading.

7

Been using it for 2 years now, never once had it break unless I messed up the command and tried to update aur packages along with system packages

9
lemmy.world

Pacman is great until you forget to delete your lock file because you interrupted an update and wonder why it isn't working.

APT is user-friendly, but a pain to automate in scripts.

the real winner is compiling from source. 😎

14

Yeah but then every time I have to relook up what that means lol, and how to fix it

4

Yep, had to brick my system once to learn you never interrupt an upgrade...

2

Yup.

Got me running my pretence and mergence scripts to do all the upgrade things on my gentoo stratum.

1
lemmy.world

After using dnf a bit:

  • All the default answers are backwards to me, so dnf quite literally ignores my input.
  • dnf search did not show, by default, if a matching package is already installed.
  • Perfect perhaps for newbies, since dnf asks you trice.

yeah.. arch is not leaving me anytime soon. The option to makepkg from source a few custom packages is very neat.

12

Yeah, that's cool. Though I still prefer gentoo's USE flags (and savedconfig and patches if you like too). Even has official binhost now too.

1

Pacman will start the fight as soon as all packages are up to date, assuming no packages push updates in the time it takes to update (unlikely).

11

Why are they fighting? *shrug*

I'm guessing whoever made this uses arch btw.

10

My addled brain read this as apartment vs Duke Nukem Forever.

10
floquantreply
lemmy.dbzer0.com

Don't use yy unless needed (very corner cases), the mirrors thank you :)

9
mander.xyz

Tbh i never checked what this means, found it somewhere in the arch wiki when i was trying out arch

3

-y only syncs the repository metadata that's needed, while -yy forces a full refresh. This is very rarely needed and requires quite a bit more bandwidth from the mirrors

6
url
feddit.fr

For me apt is faster only 3 letters

8
lemmy.world

I mean... that's not incorrect, but...

>>> len("apt update && apt upgrade")
25
>>> len("pacman -Syu")
11
28

Sorry but muscle memory makes me write:

apt-get update
apt-get upgrade 

And I'm used to apt complaining about missing repo URL, and then I have to fix it by pointing to archive.debian.org.

6
Anebreply
lemmy.world

Is Yay out of date? "yay -syu" is even shorter

6

can haz emerge world

;) but... I know, I know... sanity adds more options.

1
mander.xyz

I used all of them. Out of the three apt is the one I dislike the most. Dnf is half baked, but works well enough anyway. Pacman is actually very nice, I just don't use arch anymore.

7
jaybonereply
lemmy.zip

Not OP. I like apt. But I switched over from redhat/fedora to Ubuntu like 15+ years ago, and I will say the rpm command offered much better options for querying package metadata. What mostly comes to mind is searching for files belonging to a package, or finding what package a file belongs to. dpkg/ apt-* can’t do that out of the box without some additional apt-* tools installed. Which is ok, but a bit extra clunky.

9
feddit.org

Isn't dnf the equivalent of apt? I don't think I've ever used rpm, but wouldn't that be more like using gdebi for deb-packages?

2

Dnf sits on top of rpm (formerly yum did this, formerly up2date did this) the same way apt sits on top of dpkg.

While ultimately they both provide similar general functionality (installing and updating packages) the specific command syntax and switches differ. And some commands imo are more useful than others.

6

Not that I dislike it, but many quality of life things are missing. One simple example is that a sensible way to manage which packages are automatically installed and not manually has been introduced only recently. Searching for dependencies of packages is quite complex. If you know the name of the executable/library file I'm not sure whether it is possible to retrieve the package who provides it. Asides from that, it is the one package manager who gave me the most problems when something goes wrong. Not comparing to the problems that arise from arch all the time, but apt often has locking problems, incorrect resolution, impossibilities to upgrade certain packages and many many problems if you start introducing third party repositories. It is quite usable, don't get me wrong; but I never felt all this hindrance while using dnf.

3
sh.itjust.works

The list of upgrades being one big paragraph instead of separate lines is bad enough. I have some Debian servers but never looked if there's a flag to make it look better.

Also no history or rollback. Madison is dumb as I recall. Just kind of unintuitive and bare bones for me. Dnf (especially dnf5) suit me fine but I'm an rpm homer.

1
Digitreply
lemmy.wtf

When and where did you last use apt?

apt upgrade's not formatted like that here for me (currently on mx). Uses colour and spaced columns.

apt-get upgrade is like that still, one big paragraph.

1
lemmy.ml

I am just going to mention yum so that I can get downvoted. (We use it at work.)

7

If I'm not mistaken, dnf is to yum as yay is to pacman. Edit: don't shoot me I'm relatively new to arch based distros, AUR is scary.

2
Digitreply
lemmy.wtf

The real OG is emerge portage.

IFTFY.

(And I agree. USE flags ftw.)

4
msagereply
programming.dev

Dang, you are so correct.

I forgot that unlike most package managers, Portage doesn't use its name for the command.

But then again people never say 'I use Aptitude', just apt.

1

Some people do use aptitude instead of apt or apt-get.

These are not the same.

Different ways to wrap around dpkg.

Try running just aptitude. :) See? :) TUI.

2

Advance Packaging Tool. It's an acronym BTW.

2

I didn't know what was dnf so I made a search and found out it replaced yum as the redhat package manager in 2013. I did not know about yum either. Last time I used a redhat-based distribution, Mandrake, the package managers were rpm and urpmi. Tempus fugit!

5

Gets even more confounding when considering PCLinuxOS, which uses apt to manage rpm packages.

3
Digitreply
lemmy.wtf

Oh I so want to upvote that. Why did you have to go and ruin it by adding "and Flatpak"? n_n

1
Digitreply
lemmy.wtf
  • bloat.

and, so i hear:

  • slow to lauch things it installed
  • permissions finicky
  • non-integration with host system's things
1

slow to lauch things it installed permissions finicky non-integration with host system’s things

It's a great way to install apps without cluttering ~/.config, ~/.local/share, etc, since each app has its own directory in ~/.var/app (unless it has write permissions somewhere else in which case it might use that), and I don't care as much about managing configuration files of specific GUI apps. I run Librewolf as a Flatpak and it launches quickly, also.

I use it to reduce bloat, because I can install an app to try it and not have to worry about cleaning it up later. Also my system uses only 1.1GiB of RAM without any apps open which is fine since I have a lot running in the background (Niri, Waybar, terminal server, XDG portals, etc.)

Only GUI apps I specifically don't use it for are Steam - because I heard bad things about Steam running as a Flatpak - and KeePassXC - because it's the one Flatpak app I couldn't make the system theme work for no matter what I did, so I used the one in the repos.

For the system settings, yeah it doesn't integrate at all if you don't configure it. I just used Flatseal (a convenient Flatpak configuration GUI) to set environment variables for all Flatpak apps, and gsettings to set themes, and now it works for most apps, except KeePassXC specifically for some reason. Understandable take on system settings.

Main reason I use it though, is that compared to my previous distro (NixOS), Void Linux's repos don't have nearly as many packages.

1

Then you heard wrong, those are arguably outdated information (how finicky permissions are is rather subjective). And it's only bloat if you ignore the advantages things like version-pinning offers.

You might confused the speed argument with Snap. Those are noticeably slow.

1

Honestly as I force myself more into learning fedora, I’m really liking dnf. The history and rollback feature is super nice.

4

pacman is the fastest but the syntax is weird. Has the best visual, i.e. pacman loading bar. If things go wrong like a broken dependencies it doesnt provide heloful output.

Apt is the easiest to use but its output is very congested. Remember that Linus Tech Tips linux install video? The error warnings are very squashed together making it very difficult to see.

Dnf is the sweet spot imo. As default, the speed is slow but you can tweak it on the config. Outputs are clean, and if something goes wrong like a broken dependency, dnf provides very useful info to troubleshoot.

4

Its most likely just a front-end for one of the command line tools anyway, so you're probably still using them.

And if it's the easiest way to get what you need, then it sounds like you're using the right tool for your use case. That's a good thing.

5
sopuli.xyz

Is Pacman still missing a proper alternatives system?

1
lemmy.ml

What would that be for? It's hard to search the internet for.

I think I remember from my Ubuntu days that I used it to switch JREs? Arch has something for that!

1

JREs, man providers, *roff, …

Arch does indeed have a special mechanism for Java, but Debian and Fedora have a general-purpose system (the same system actually)

1
Digitreply
lemmy.wtf

It's never eaten your system's bootability yet?

1

Any time I've ever used pacman to kill my system, it was my fault, usually because I either didn't read the news and missed a manual intervention, or because I didn't read the instructions before doing something. Don't play fast and loose with root.

Actually tbh, pacman has saved my installations in a chroot environment more than a few times

1
lemmy.ml

I think you're confused. It's really easy to use. You have to learn 3–4 command line flags instead of subcommands, but that's all that separates it from others in usage patterns.

1
MehBlahreply
lemmy.world

What I really love about telling someone their favorite package updating tool is shit. Is someone trying to tell me I'm confused.

1

Accurate: APT vs DNF is the real kaiju fight… and then pacman -Syu shows up like the final boss..

1
lemmy.ca

No contest. Apt-rpm is superior in every way.

SuSE people can sit down too. I've seen inside that mess.

-1

Apt-rpm

Ah-ha! First appearance of a PCLinuxOS user.

... Or you're just using a confusing phrasing.

1

A wrapper to use apt commands for rpm packages. It's just there to help with muscle memory.

7