this post was submitted on 02 Mar 2025
249 points (94.3% liked)

linuxmemes

22904 readers
1725 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

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.

    founded 2 years ago
    MODERATORS
     
    all 38 comments
    sorted by: hot top controversial new old
    [–] [email protected] 12 points 23 hours ago (1 children)

    Any package manager can have that syntax if you use aliases. I prefer β€œyeet” myself.

    [–] [email protected] 1 points 9 hours ago

    Thanks, i am using that now

    [–] [email protected] 59 points 1 day ago* (last edited 1 day ago) (1 children)

    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”
    [–] [email protected] 20 points 1 day ago

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

    I think I will do it in my system.

    [–] [email protected] 5 points 23 hours ago

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

    [–] [email protected] 44 points 1 day ago* (last edited 1 day ago)

    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.

    [–] [email protected] 48 points 1 day ago (7 children)

    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.

    [–] [email protected] 2 points 15 hours ago (1 children)

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

    [–] [email protected] 3 points 9 hours ago* (last edited 5 hours ago)

    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

    [–] [email protected] 12 points 1 day ago

    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.

    [–] [email protected] 2 points 1 day ago

    I just alias it to "sysup" on every new system.

    [–] [email protected] 18 points 1 day ago

    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.

    [–] [email protected] 14 points 1 day ago (1 children)

    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

    [–] [email protected] 1 points 1 day ago

    You could easilly just make a bash script for that

    [–] [email protected] 19 points 1 day ago* (last edited 1 day ago)

    Unmerge is a great way to end up with 10000 circular dependencies, I prefer using deselect and then depclean

    [–] [email protected] 34 points 1 day ago (3 children)
    pacman -Rns $(pacman -Qqdt)
    
    [–] [email protected] 8 points 1 day ago

    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.

    [–] [email protected] 16 points 1 day ago (1 children)
    [–] ColdWater 24 points 1 day ago (2 children)
    [–] [email protected] 17 points 1 day ago

    I have it alised to orphankiller

    [–] [email protected] 4 points 1 day ago
    [–] [email protected] 7 points 1 day ago* (last edited 1 day ago) (1 children)
    [–] [email protected] 12 points 1 day ago* (last edited 1 day ago)

    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)

    [–] [email protected] 1 points 1 day ago (1 children)

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

    [–] [email protected] 6 points 23 hours ago (1 children)

    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.

    [–] [email protected] 1 points 18 hours ago

    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.

    [–] [email protected] 0 points 1 day ago (1 children)

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

    [–] [email protected] 12 points 1 day ago (1 children)
    [–] [email protected] 4 points 1 day ago (1 children)

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

    [–] [email protected] 2 points 1 day ago (1 children)

    I think it removes configs too.

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

    [–] [email protected] 1 points 1 day ago (1 children)

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

    [–] [email protected] 1 points 1 day ago (1 children)
    [–] [email protected] 2 points 1 day ago (1 children)

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

    [–] [email protected] 2 points 1 day ago* (last edited 2 hours ago)

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

    [–] [email protected] 0 points 1 day ago

    Does Ubuntu dick or something?