8,560
edits
(Updating to match new version of source page) Tags: Mobile web edit Mobile edit |
(Updating to match new version of source page) Tags: Mobile web edit Mobile edit |
||
Line 21: | Line 21: | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
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: | ||
{{UserCmd|command=sudo pacman -Syu pamac-gtk}} | |||
</div> | </div> | ||
Line 240: | Line 240: | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
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: | ||
{{UserCmd|command=pamac install smplayer smplayer-themes}} | |||
</div> | </div> | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
{{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}} | ||
</div> | </div> | ||
Line 251: | Line 251: | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
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: | ||
{{UserCmd|command=pamac build umplayer}} | |||
</div> | </div> | ||
Line 260: | Line 260: | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
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: | ||
{{UserCmd|command=pamac remove smplayer smplayer-themes umplayer}} | |||
</div> | </div> | ||
Line 266: | Line 266: | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
{{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}} | ||
</div> | </div> | ||
Line 276: | Line 276: | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
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: | ||
{{UserCmd|command=pamac list -i}} | |||
</div> | </div> | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
Line 286: | Line 285: | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
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 : | ||
{{UserCmd|command=pamac info smplayer}} | |||
</div> | </div> | ||
Line 292: | Line 291: | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
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: | ||
{{UserCmd|command=pamac info -a smplayer}} | |||
</div> | </div> | ||
Line 302: | Line 301: | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
To check if updates are available, you can use the command: | To check if updates are available, you can use the command: | ||
{{UserCmd|command=pamac checkupdates -a}} | |||
</div> | </div> | ||
Line 308: | Line 307: | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
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: | ||
{{UserCmd|command=pamac upgrade -a}} | |||
</div> | </div> | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
{{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.}} | ||
</div> | </div> | ||
Line 323: | Line 322: | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
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: | ||
{{UserCmd|command=pamac list -o}} | |||
</div> | </div> | ||
Line 329: | Line 328: | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
To remove all orphans use the command: | To remove all orphans use the command: | ||
{{UserCmd|command=pamac remove -o}} | |||
</div> | </div> | ||
Line 343: | Line 342: | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
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): | ||
{{UserCmd|command=pamac clean}} | |||
</div> | </div> | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
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: | ||
{{UserCmd|command=pamac clean --keep 3}} | |||
</div> | </div> | ||
Line 358: | Line 357: | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
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: | ||
{{UserCmd|command=pamac search -f /usr/bin/smplayer}} | |||
</div> | </div> | ||
Line 364: | Line 363: | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
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: | ||
{{UserCmd|command=pamac reinstall smplayer}} | |||
</div> | </div> | ||
[[Category:Contents Page{{#translation:}}]] | [[Category:Contents Page{{#translation:}}]] |