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

Linux

47224 readers
778 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

cross-posted from: https://lemmy.today/post/3418985

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
[–] Vegoon@feddit.de 4 points 9 months ago

According to the manpage --Yay --clean is the thought behind it, its a Yay specific shortcut for pacman -Rs $(pacman -Qqdt) Remove recursive what the Query quiet (short names) on the database lists as unrequired t

Now -Yc does not sound that bad.

It is still good to learn the verbose commands for pacman/paru/yay from the manpages, once you are familiar with them its easy to build more advanced commands for special use-cases.