this post was submitted on 25 Nov 2023
13 points (84.2% liked)

Arch Linux

7761 readers
10 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS
 

I recently got into Arch Linux via EndeavourOS. I'm trying to find a way to remember all the Pacman and Yay commands, but I'm not able to find a good approach to remembering most of the commands.

Does anybody have any mnemonics to help with this? For example, how did you remember that Yay -Yc was the command to remove all unneeded dependencies?

you are viewing a single comment's thread
view the rest of the comments
[–] RiikkaTheIcePrincess@pawb.social 2 points 11 months ago* (last edited 11 months ago) (2 children)

I'd just like to point out the objective fact that Yay is the best-named AUR helper ^.^ :3

As for the actual question, I'm not sure how many I should be using? I kinda just remember -Syu and -Ss and -Ql because I use them muchly; for most else pacman --help -Q/S/whatever helps lots. For the last little bit, there's rage-searxing and doing what some mean person on the Arch forums says to do :D

Edit: I think a mean person from the Arch forums downvoted me :D

[–] Astaroth@lemm.ee 1 points 11 months ago

-Syu

you can just type yay and it defaults to -Syu if there's no other argument

 

also while I never use pacman on its own (I always use yay) I still check the pacman man page every now and then because while all the commands from pacman can still be used the yay manual only shows the commands added besides pacman's default commands

[–] soupcat@sopuli.xyz 1 points 11 months ago

I just did yay bauh and now it's fine