Difference between revisions of "Pacman Overview"
no edit summary
imported>Verityproductions |
imported>Verityproductions |
||
Line 20: | Line 20: | ||
sudo pacman -Ss [software package name] | sudo pacman -Ss [software package name] | ||
For example, to search the repositories to see if a text editor called Leafpad is available, the following command would be entered: | For example, to search the repositories to see if a text editor called Leafpad is available, the following command would be entered: | ||
Line 31: | Line 32: | ||
sudo pacman -S [software package name] | sudo pacman -S [software package name] | ||
For example, to download and install leafpad, the following command would be entered: | For example, to download and install leafpad, the following command would be entered: | ||
Line 44: | Line 46: | ||
sudo pacman -R [software package name] | sudo pacman -R [software package name] | ||
For example, to remove the software application Leafpad, the following command would be entered: | For example, to remove the software application Leafpad, the following command would be entered: | ||
Line 49: | Line 52: | ||
sudo pacman -R leafpad | sudo pacman -R leafpad | ||
sudo pacman - | It is also possible to remove package and its dependencies, provided those dependencies are not being used by any other packages. Deleting dependencies exclusive to a certain package is wise, as once the main package is removed, they will become ''orphans'', serving no other purpose than to clutter up your system. To do so, enter the following command: | ||
sudo pacman -Rs [software package name] | |||
However, Pacman usually also creates backup configuration files when deleting packages. As such, for a more thorough (and cleaner) removal (ie. the package, its dependencies, and any configuration files usually generated by pacman) enter the following command: | |||
sudo pacman -Rns | |||