Difference between revisions of "Pacman Overview"

imported>Chatan
m (Category:Software Management)
imported>Fhdk
Line 98: Line 98:
To install a software package, the basic syntax is:
To install a software package, the basic syntax is:


  sudo pacman -S [software package name]
  sudo pacman -Syu [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:


  sudo pacman -S leafpad
  sudo pacman -Syu leafpad


{{tip| many software packages (especially complex applications) will require other software packages - known as ''dependencies'' -  to also be downloaded and installed in order to work. Fortunately, pacman will automatically detect and install these for you.}}
{{tip| many software packages (especially complex applications) will require other software packages - known as ''dependencies'' -  to also be downloaded and installed in order to work. Fortunately, pacman will automatically detect and install these for you.}}
Line 110: Line 110:
It is also possible to download software packages without actually installing them by entering the following command:
It is also possible to download software packages without actually installing them by entering the following command:


  sudo pacman -Sw [software package name]
  sudo pacman -Syuw [software package name]
 


==Packages from the AUR (Arch User Repository)==
==Packages from the AUR (Arch User Repository)==
Anonymous user