Skip to content

How To Properly Remove A Package In Archlinux

Published: at 12:00 AM
sudo pacman -Runs pkg-name

Works best and is preferable to pacman -Runs pkg-name:

-u, --unneeded, Removes the targets that are not required by any other packages. This is mostly useful when removing a group without using the -c option, to avoid breaking any dependencies.

-n, --nosave, Removes configuration files

-s, --recursive, Removes unnecessary dependencies