Any package manager can have that syntax if you use aliases. I prefer βyeetβ myself.
linuxmemes
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
- Understand the difference between a joke and an insult.
- Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
- Don't get baited into back-and-forth insults. We are not animals.
- Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
- Bigotry will not be tolerated.
- These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
3. Post Linux-related content
- Including Unix and BSD.
- Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of
sudo
in Windows. - No porn. Even if you watch it on a Linux machine.
4. No recent reposts
- Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
5. π¬π§ Language/ΡΠ·ΡΠΊ/Sprache
- This is primarily an English-speaking community. π¬π§π¦πΊπΊπΈ
- Comments written in other languages are allowed.
- The substance of a post should be comprehensible for people who only speak English.
- Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed. Β
Please report posts and comments that break these rules!
Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.
Thanks, i am using that now
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.
Pacman is not a great package manager. It blows up way to easily.
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
.
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
.
How is "sync" the expected command to install a package?
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
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
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
is
dnf 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
Id assume so. I mean there's a chance it somehow adds files.
Does Ubuntu dick or something?