Conversation
Notices
-
-
@mo6020 I set up an alias I call packman-clean for just that reason. I don't have the command to hand though.
-
@mo6020 pacman -Scc does most of what you want, but I constructed another command to remove orphaned packages.
-
@mo6020 aha! # pacman -Rc `pacman -Qtdq` -- obvious, no? ;)
Ed Morgan likes this. -
@yamatt Yeh, silly me ;)
-
@mo6020 If you mean packages installed as a dependency of a (now) non existent package, then 'pacman -Qdt' is what you are looking for.
-
@mo6020 pacman -Qdt but be careful though, make sure you don't need that packages
-