8,560
edits
(Updating to match new version of source page) |
(Updating to match new version of source page) Tags: Mobile web edit Mobile edit |
||
Line 19: | Line 19: | ||
<div class="mw-translate-fuzzy"> | |||
Tous ces paquets peuvent être installés en utilisant pacman, par exemple, ici nous allons installer la version gtk avec cette commande : | Tous ces paquets peuvent être installés en utilisant pacman, par exemple, ici nous allons installer la version gtk avec cette commande : | ||
sudo pacman -Syu pamac-gtk | sudo pacman -Syu pamac-gtk | ||
</div> | |||
Line 206: | Line 208: | ||
<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 217: | Line 219: | ||
<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 226: | Line 228: | ||
<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 232: | Line 234: | ||
<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 242: | Line 244: | ||
<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 252: | Line 253: | ||
<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 258: | Line 259: | ||
<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 268: | Line 269: | ||
<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 274: | Line 275: | ||
<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 289: | Line 290: | ||
<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 295: | Line 296: | ||
<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 309: | Line 310: | ||
<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 324: | Line 325: | ||
<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 330: | Line 331: | ||
<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:}}]] |