Any package manager can have that syntax if you use aliases. I prefer “yeet” myself.
Thanks, i am using that now
Pacman is not a great package manager. It blows up way to easily.
I love Gentoo precisely because of Portage, but I think the most badass package install/uninstall syntax has to be that of (the defunct?) Sorcerer Linux:
Sorcerer’s tool terminology is based upon magic words. For example:
- a tool to download, compile, and install software is called a “spell”
- to install a package is “cast”
- to remove a package is “dispel”
- a set of available spells is called a “grimoire”
I mean alias is a thing and nothing is stopping you…
I think I will do it in my system.
I have
paru -Rns
abbreviated toyeet
in my fish config. On my non-Arch systems, I also usually abbreviate/alias the equivalent command toyeet
.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 thanapt update && apt upgrade
.How is “sync” the expected command to install a package?
The same way as specifying
ss
before and afteri
inffmpeg
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
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.
yay
I just alias it to “sysup” on every new system.
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.
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
You could easilly just make a bash script for that
deleted by creator
Unmerge is a great way to end up with 10000 circular dependencies, I prefer using deselect and then depclean
pacman -Rns $(pacman -Qqdt)
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.
What does -Qqdt do?
Find orphans packages
I have it alised to
orphankiller
quietly
pacman -Rns $(pacman -Qq)
Evil
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)
The most badass package syntax: never having to use any because you’re on an atomic OS.
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.
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.
Year 3 of using Fedora and I still don’t know what the equivalent of
apt purge
isdnf remove
There is apt remove but purge will remove more things. So if dnf remove is purge equivalent, what is apt remove equivalent in dnf?
I think it removes configs too.
Try it yourself with nginx or Apache. You likely don’t have both installed.
So we don’t have the ability to remove package without configs in dnf?
Did you test it
No but its one or the other anyway right? I can’t test right now
Is assume so. I mean there’s a chance it somehow adds files.
Does Ubuntu dick or something?