I just look it up every time, I don’t remove packages often. Also yay can usually figure out pacman flags when you use them with it
Linux
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
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
According to the manpage --Yay --clean
is the thought behind it, its a Yay specific shortcut for pacman -Rs $(pacman -Qqdt)
R
emove recurs
ive what the Q
uery q
uiet (short names) on the d
atabase 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.
Use tealdeer, grep the manpage or read --help or use https://wiki.archlinux.org/title/Pacman/Rosetta
I just use pamac. Almost never have to use pacman directly, except if somehow something broke with pamac, which is rare.
Tldr and tealdeer in the arch repo are both helpful, but Ill do you one better since someone already beat me to it. I found fish shell's tab completion with either tool to be immensely helpful if you're not trying to stay stock standard. But if you're working on a lot of remote machines you don't own stick with bash/zsh.
There's some easy to find fuzzy search and linting for for history plugins that mean if you found it once you can do it again in whichever shell.
Its mostly familiarity, but i don't think I could function without fzf.