Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on lemmy.ca

34 replies

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

I think I will do it in my system.

24
lemmy.ml

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.

53

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.

19
Peffsereply
lemmy.world

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

14

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.

12
lemmy.ml

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

2

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

3

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.

8

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)

13
sopuli.xyz

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

4
lemmy.zip

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.

5

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.

2

And to install things, gentoo's the fastest.

emerge

is shorter to type than

apt install

or

pacman -S

1
lemmy.world

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

-1
lemmy.dbzer0.com

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

4
Kairosreply
lemmy.today

I think it removes configs too.

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

2

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

2

You reached the end