Difference between revisions of "Pamac/en"

Updating to match new version of source page
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 18: Line 18:


These packages can be installed using pacman.  For example, to install the GTK version, you can use the command:
These packages can be installed using pacman.  For example, to install the GTK version, you can use the command:
sudo pacman -Syu pamac-gtk
{{UserCmd|command=sudo pacman -Syu pamac-gtk}}




Line 169: Line 169:


Once you have identified the packages you wish to install, you can install them with command {{ic|pamac install}}.  For example, if we wanted to install {{ic|smplayer}} and {{ic|smplayer-themes}} we could use the command:
Once you have identified the packages you wish to install, you can install them with command {{ic|pamac install}}.  For example, if we wanted to install {{ic|smplayer}} and {{ic|smplayer-themes}} we could use the command:
pamac install smplayer smplayer-themes
{{UserCmd|command=pamac install smplayer smplayer-themes}}




{{tip|When using install, pamac will check to see if packages are installed and only install the ones not already installed}}
{{BoxSuccess|tip|When using install, pamac will check to see if packages are installed and only install the ones not already installed}}




If you want to install packages from [[Arch_User_Repository|AUR]] you use the command {{ic|pamac build}}.  Sticking with the above example, if you decided you wanted to install {{ic|umplayer}} instead you could use the command:
If you want to install packages from [[Arch_User_Repository|AUR]] you use the command {{ic|pamac build}}.  Sticking with the above example, if you decided you wanted to install {{ic|umplayer}} instead you could use the command:
pamac build umplayer
{{UserCmd|command=pamac build umplayer}}


==Removing Packages==
==Removing Packages==


The command {{ic|pamac remove}} can be used to uninstall packages installed from the repos or [[Arch_User_Repository|AUR]].  For example, if you wanted to remove all the packages installed above, you could use the command:
The command {{ic|pamac remove}} can be used to uninstall packages installed from the repos or [[Arch_User_Repository|AUR]].  For example, if you wanted to remove all the packages installed above, you could use the command:
pamac remove smplayer smplayer-themes umplayer
{{UserCmd|command=pamac remove smplayer smplayer-themes umplayer}}






{{warning|It is extremely important to carefully review the list of packages pamac presents before confirming.  Some packages have many packages which depend on them and you don't want to inadvertently remove your whole desktop environment}}
{{BoxSuccess|warning|It is extremely important to carefully review the list of packages pamac presents before confirming.  Some packages have many packages which depend on them and you don't want to inadvertently remove your whole desktop environment}}




Line 191: Line 191:


To display a list of all installed packages, you can use the command:
To display a list of all installed packages, you can use the command:
pamac list -i
{{UserCmd|command=pamac list -i}}
 


==Displaying Detailed Package Information==
==Displaying Detailed Package Information==


To display detailed information on a package that is in the repos or installed on your system, use the command {{ic|pamac info}}.  Keeping with our example of SMPlayer :
To display detailed information on a package that is in the repos or installed on your system, use the command {{ic|pamac info}}.  Keeping with our example of SMPlayer :
pamac info smplayer
{{UserCmd|command=pamac info smplayer}}




If you also would like to check packages in [[Arch_User_Repository|AUR]], you could use:
If you also would like to check packages in [[Arch_User_Repository|AUR]], you could use:
pamac info -a smplayer
{{UserCmd|command=pamac info -a smplayer}}




Line 207: Line 206:


To check if updates are available, you can use the command:
To check if updates are available, you can use the command:
pamac checkupdates -a
{{UserCmd|command=pamac checkupdates -a}}




To update all installed packages installed from the repos or [[Arch_User_Repository|AUR]], you can use the command:
To update all installed packages installed from the repos or [[Arch_User_Repository|AUR]], you can use the command:
pamac upgrade -a
{{UserCmd|command=pamac upgrade -a}}




{{tip|pamac update and pamac upgrade are exactly the same.  You can use them interchangeably.}}
{{BoxSuccess|tip|pamac update and pamac upgrade are exactly the same.  You can use them interchangeably.}}




Line 220: Line 219:


To check to see if there any orphaned packages (packages which are no longer needed) installed, you can use:
To check to see if there any orphaned packages (packages which are no longer needed) installed, you can use:
pamac list -o
{{UserCmd|command=pamac list -o}}




To remove all orphans use the command:
To remove all orphans use the command:
pamac remove -o
{{UserCmd|command=pamac remove -o}}




Line 232: Line 231:


Otherwise, to clear the cache completely, enter the following command (and use with care):
Otherwise, to clear the cache completely, enter the following command (and use with care):
pamac clean
{{UserCmd|command=pamac clean}}


A safer way to remove old package cache files is to remove all packages except for the latest three package versions using:
A safer way to remove old package cache files is to remove all packages except for the latest three package versions using:
pamac clean --keep 3
{{UserCmd|command=pamac clean --keep 3}}




Line 241: Line 240:


To see which package owns a certain file on your system, use the command {{ic|pamac search -f}}.  For example:
To see which package owns a certain file on your system, use the command {{ic|pamac search -f}}.  For example:
pamac search -f /usr/bin/smplayer
{{UserCmd|command=pamac search -f /usr/bin/smplayer}}




To force a package to be installed even if it is already installed, use {{ic|pamac reinstall}}.  For example:
To force a package to be installed even if it is already installed, use {{ic|pamac reinstall}}.  For example:
pamac reinstall smplayer
{{UserCmd|command=pamac reinstall smplayer}}


[[Category:Contents Page{{#translation:}}]]
[[Category:Contents Page{{#translation:}}]]
8,138

edits