Section: Pacman and Zypper

Remove package on Arch

bash
bash
sudo pacman -Rns nginx
Explanation

`-Rns` also removes unneeded dependencies and config backups where possible.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Pacman and Zypper
Refresh package databases
Synchronize package databases on Arch.
OpenIn sheetbashsame section
Full system upgrade on Arch
Synchronize package databases and upgrade packages.
OpenIn sheetbashsame section
Install package on Arch
Install one or more packages.
OpenIn sheetbashsame section
Search package on Arch
Search repositories or local DB.
OpenIn sheetbashsame section
Remove package on SUSE
Uninstall a package.
OpenIn sheetbashsame section
Refresh repositories on SUSE
Refresh package metadata.
OpenIn sheetbashsame section