Gentoo and Debain has the most badass package uninstall syntax ever

268 points · 34 comments · view on lemmy.world

34 Comments

m4m4m4m4@lemmy.world · 68 pts · 1y (1 reply)
[ removed ]
ogeist@lemmy.world · 24 pts · 1y

I mean alias is a thing and nothing is stopping you...

I think I will do it in my system.

fl42v@lemmy.ml · 53 pts · 1y (9 replies)

I still like pacman's syntax the most due to it being close to what one expects from a normal cli program. Also, I'm lazy, and pacman -Syu, for example, is way faster to type than apt update && apt upgrade.

burgersc12@mander.xyz · 52 pts · 1y

yay

30p87@feddit.org · 19 pts · 1y

Someone said they found the pacman syntax confusing at the 37c3 arch user meetup

yeah that was not well received lol.

It's very clean and I love the categories of actions (Database/Files/Query/Remove/Sync/Deptest/Upgrade) that each support -h individually.

Peffse@lemmy.world · 14 pts · 1y (1 reply)

How else can you pretend you are ordering the Hulk around?

apt update

apt upgrade

...actually, now I want to see if I can set up an alias like that.

hulk smash firefox

crony@lemmy.cronyakatsuki.xyz · 1 pts · 1y

You could easilly just make a bash script for that

eager_eagle@lemmy.world · 12 pts · 1y

I'm lazy, so I prefer to not remember what half a dozen cryptic flags stand for.

I just find disappointing that there's no long form to these options and they don't make much mnemonic sense either. Feels like the authors just picked the first letter available they came across with zero regard to readability or usability.

Iapar@feddit.org · 3 pts · 1y
[ removed ]
someonesmall@lemmy.ml · 2 pts · 1y (1 reply)

How is "sync" the expected command to install a package?

fl42v@lemmy.ml · 3 pts · 1y

The same way as specifying ss before and after i in ffmpeg doing different stuff or that moment when sysd could delete your homedir some time ago when you asked it to clear the tempfiles. I.e, it's not; that's what manpages are for

hubobes@sh.itjust.works · 1 pts · 1y
[ removed ]
SexualPolytope@lemmy.sdf.org · 45 pts · 1y

I have paru -Rns abbreviated to yeet in my fish config. On my non-Arch systems, I also usually abbreviate/alias the equivalent command to yeet.

cmgvd3lw@discuss.tchncs.de · 35 pts · 1y (7 replies)
pacman -Rns $(pacman -Qqdt)
IndieSpren@lemmy.blahaj.zone · 16 pts · 1y (3 replies)

What does -Qqdt do?

ColdWater@lemmy.ca · 26 pts · 1y (2 replies)

Find orphans packages

swab148@startrek.website · 19 pts · 1y

I have it alised to orphankiller

traches@sh.itjust.works · 4 pts · 1y

quietly

neclimdul@lemmy.world · 8 pts · 1y

It's so semantic it almost reads like a sentence!

And who needs simplicity when you can teach people about advanced shell techniques like command substitution?

Perfection.

rrconkle@lemmy.zip · 7 pts · 1y (1 reply)
pacman -Rns $(pacman -Qq)
TechieDamien@lemmy.ml · 3 pts · 1y

Evil

Presi300@lemmy.world · 19 pts · 1y
[ removed ]
_cryptagion@lemmy.dbzer0.com · 15 pts · 1y (1 reply)
[ removed ]
drewbelloc@ani.social · 2 pts · 1y

Thanks, i am using that now

y0din@lemmy.world · 13 pts · 1y

does gentoos emerge --rageclean count?

[--unmerge, -C WARNING: This action can remove important packages! Removes all matching packages following a counter governed by CLEAN_DELAY. This does no checking of dependencies, so it may remove packages necessary for the proper operation of your system. Its arguments can be atoms or ebuilds. For a dependency aware version of --unmerge, use --depclean or --prune. For a version with CLEAN_DELAY=0, use --rage-clean.

(edit, added context from "man emerge", rageclean mentioned the last sentence)

chunkystyles@sopuli.xyz · 4 pts · 1y (2 replies)

The most badass package syntax: never having to use any because you're on an atomic OS.

possiblylinux127@lemmy.zip · 5 pts · 1y (1 reply)

You will need to use it at some point. With silverblue it is rpm-ostree and with bootable containers it is dnf in a Dockerfile.

chunkystyles@sopuli.xyz · 2 pts · 1y

I'm on Aurora. I don't have to use rpm-ostree (bootc in the future). I can use it, but I don't have to. Most of my software needs are covered by flatpak and homebrew. I also don't have to update packages in my distrobox containers. Those are managed for me, too.

I love tinkering with stuff, but updating packages is nothing more than a chore. I'd rather be doing the fun stuff.

possiblylinux127@lemmy.zip · 4 pts · 1y

Pacman is not a great package manager. It blows up way to easily.

Samespot@lemmy.world · 3 pts · 1y
[ removed ]
Digit@lemmy.wtf · 1 pts · 248d

And to install things, gentoo's the fastest.

emerge

is shorter to type than

apt install

or

pacman -S

PixelPilgrim@lemmings.world · 0 pts · 1y

Does Ubuntu dick or something?

NateNate60@lemmy.world · -1 pts · 1y (7 replies)

Year 3 of using Fedora and I still don't know what the equivalent of apt purge is

LodeMike@lemmy.today · 12 pts · 1y (6 replies)

dnf remove

mexicancartel@lemmy.dbzer0.com · 4 pts · 1y (5 replies)

There is apt remove but purge will remove more things. So if dnf remove is purge equivalent, what is apt remove equivalent in dnf?

LodeMike@lemmy.today · 2 pts · 1y (4 replies)

I think it removes configs too.

Try it yourself with nginx or Apache. You likely don't have both installed.

mexicancartel@lemmy.dbzer0.com · 1 pts · 1y (3 replies)

So we don't have the ability to remove package without configs in dnf?

LodeMike@lemmy.today · 1 pts · 1y (2 replies)

Did you test it

mexicancartel@lemmy.dbzer0.com · 2 pts · 1y (1 reply)

No but its one or the other anyway right? I can't test right now

LodeMike@lemmy.today · 2 pts · 1y

Id assume so. I mean there's a chance it somehow adds files.