Difference between revisions of "Pacman Overview"

Fix commands for local search & removing orphans
imported>Verityproductions
m (Verityproductions moved page Pacman to Pacman Overview without leaving a redirect)
imported>Culinax
(Fix commands for local search & removing orphans)
Line 46: Line 46:
In addition, it is also possible to search for packages that have already been installed on your system. For basic information, enter the following command:
In addition, it is also possible to search for packages that have already been installed on your system. For basic information, enter the following command:


  pacman -Q [software package name]
  pacman -Qs [software package name]




Line 82: Line 82:
'''It is highly recommended to remove orphans from your system, as although harmless, they still serve no purpose other than to take up room and resources. Rather than having to remove them one-by-one, the following command will search for and remove them for you:
'''It is highly recommended to remove orphans from your system, as although harmless, they still serve no purpose other than to take up room and resources. Rather than having to remove them one-by-one, the following command will search for and remove them for you:


  sudo pacman -Sc $(pacman -Qdtq)
  sudo pacman -Rs $(pacman -Qdtq)


See this page '''Orphan Package Removal [http://wiki.manjaro.org/index.php?title=Orphan_Package_Removal]''' for a more detailed exposition of this topic.
See '''[[Orphan Package Removal]]''' for a more detailed exposition of this topic.


= Downloading and Installing Software Packages =
= Downloading and Installing Software Packages =
Line 170: Line 170:
  sudo pacman -Scc
  sudo pacman -Scc


For tips on how to easily manage the '''/var/cache/pacman/pkg''' for your benefit see this wiki page '''Maintaining /var/cache/pacman/pkg for System Safety [http://wiki.manjaro.org/index.php?title=Maintaining_/var/cache/pacman/pkg_for_System_Safety]'''.
For tips on how to easily manage the '''/var/cache/pacman/pkg''' for your benefit see '''[[Maintaining /var/cache/pacman/pkg for System Safety]]'''.




Anonymous user