Difference between revisions of "Pamac"

m
add template UserCmd and BoxSuccess
m (add template UserCmd)
m (add template UserCmd and BoxSuccess)
Line 217: Line 217:
<!--T:43-->
<!--T:43-->
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}}






<!--T:44-->
<!--T:44-->
{{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 235: Line 235:
<!--T:48-->
<!--T:48-->
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}}




<!--T:49-->
<!--T:49-->
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 247: Line 247:
<!--T:51-->
<!--T:51-->
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}}




<!--T:52-->
<!--T:52-->
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}}




<!--T:53-->
<!--T:53-->
{{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 263: Line 263:
<!--T:55-->
<!--T:55-->
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}}




<!--T:56-->
<!--T:56-->
To remove all orphans use the command:
To remove all orphans use the command:
pamac remove -o
{{UserCmd|command=pamac remove -o}}




Line 278: Line 278:
<!--T:59-->
<!--T:59-->
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}}


<!--T:60-->
<!--T:60-->
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 289: Line 289:
<!--T:62-->
<!--T:62-->
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}}




<!--T:63-->
<!--T:63-->
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}}


</translate>
</translate>
[[Category:Contents Page{{#translation:}}]]
[[Category:Contents Page{{#translation:}}]]
translator
11,127

edits