Skip to content

How to Remove Packages With Dependencies


When removing a package on an Arch based system like Manjaro, Pacman will only remove what you tell it to, which leaves a number of dependencies left behind. This will be a quick article on how to remove packages and their dependencies.

Remove a Package and it's Dependencies

In a Linux shell, type the following:

yaourt -Rcs <package>

R remove
c Remove packages that are no longer installed from the cache as well as currently unused sync databases
s Remove each target specified including all of their dependencies, provided that (A) they are not required by other packages; and (B) they were not explicitly installed by the user.