Moderators, translator
119
edits
imported>Maparillo |
(Prepared the page for translation) |
||
Line 1: | Line 1: | ||
<languages/> | |||
<translate> | |||
__TOC__ | __TOC__ | ||
Line 4: | Line 6: | ||
=Overview= | =Overview= | ||
Manjaro's package manager, [[Pamac]] ships with most Manjaro editions. All Manjaro editions include [https://www.archlinux.org/pacman/ pacman], the package manager from upstream Arch Linux. Pacman includes some advanced features not found in Pamac. | Manjaro's package manager, [[Special:MyLanguage/Pamac|Pamac]] ships with most Manjaro editions. All Manjaro editions include [https://www.archlinux.org/pacman/ pacman], the package manager from upstream Arch Linux. Pacman includes some advanced features not found in Pamac. | ||
Key points to know: | Key points to know: | ||
Line 10: | Line 12: | ||
* Pacman is already installed in Manjaro Linux by default | * Pacman is already installed in Manjaro Linux by default | ||
* Pacman is mainly developed/maintained by Arch Linux developers | * Pacman is mainly developed/maintained by Arch Linux developers | ||
* Pacman can only be used from the command line, if you would prefer a graphical package manager please see [[Pamac]] or [[Octopi]] | * Pacman can only be used from the command line, if you would prefer a graphical package manager please see [[Special:MyLanguage/Pamac|Pamac]] or [[Special:MyLanguage/Octopi|Octopi]] | ||
* Pacman can only use the official Manjaro [[Repositories_and_Servers|repository]]. There are seperate articles available for accessing the [[Arch_User_Repository|Arch User Repository(AUR)]], using [[Flatpak|flatpaks]] and using [[Snaps|snaps]] | * Pacman can only use the official Manjaro [[Special:MyLanguage/Repositories_and_Servers|repository]]. There are seperate articles available for accessing the [[Special:MyLanguage/Arch_User_Repository|Arch User Repository(AUR)]], using [[Special:MyLanguage/Flatpak|flatpaks]] and using [[Special:MyLanguage/Snaps|snaps]] | ||
Line 20: | Line 22: | ||
To force a full refresh of the package database and update all packages on the system. You must do this when [[Switching_Branches|switching branches]] or [[Pacman-mirrors|switching mirrors]]. | To force a full refresh of the package database and update all packages on the system. You must do this when [[Special:MyLanguage/Switching_Branches|switching branches]] or [[Special:MyLanguage/Pacman-mirrors|switching mirrors]]. | ||
sudo pacman -Syyu | sudo pacman -Syyu | ||
Line 48: | Line 50: | ||
=Installing Packages= | =Installing Packages= | ||
</translate> | |||
{{warning|Never install a package without updating the system first. On a rolling release this can lead to an unbootable system}} | {{warning|Never install a package without updating the system first. On a rolling release this can lead to an unbootable system}} | ||
<translate> | |||
Line 65: | Line 69: | ||
</translate> | |||
{{warning|When using pacman -U it is up to you to ensure that the package you are installing is fully compatible with your system.}} | {{warning|When using pacman -U it is up to you to ensure that the package you are installing is fully compatible with your system.}} | ||
<translate> | |||
=Removing Packages= | =Removing Packages= | ||
</translate> | |||
{{warning|Always review the package list before confirming when removing packages. If you are not careful you can easily remove your entire desktop due to dependencies.}} | {{warning|Always review the package list before confirming when removing packages. If you are not careful you can easily remove your entire desktop due to dependencies.}} | ||
<translate> | |||
Line 120: | Line 128: | ||
=Cleaning the Cache= | =Cleaning the Cache= | ||
When pacman installs packages, it keeps a copy of all the old packages you have downloaded. This cache can be very useful if you have to install older packages in an emergency. However, left unchecked, this cache will grow very large over time. Systems running [[Pamac]] will already have access to its automated pacman cache cleaning functions. It is also possible to clean them manually using pacman. | When pacman installs packages, it keeps a copy of all the old packages you have downloaded. This cache can be very useful if you have to install older packages in an emergency. However, left unchecked, this cache will grow very large over time. Systems running [[Special:MyLanguage/Pamac|Pamac]] will already have access to its automated pacman cache cleaning functions. It is also possible to clean them manually using pacman. | ||
To clear the cache of packages that are no longer installed, enter the following command: | To clear the cache of packages that are no longer installed, enter the following command: | ||
Line 135: | Line 143: | ||
=The Configuration File, pacman.conf= | =The Configuration File, pacman.conf= | ||
Pacman's settings are located in {{ic|/etc/pacman.conf}}. This file is owned by root, please see [[Viewing_and_editing_configuration_files|this guide]] if you need more information on how to edit this file. A full reference to these options can be found in the Arch Wiki linked below. This sections features some settings that may be of particular interest to Manjaro users. | Pacman's settings are located in {{ic|/etc/pacman.conf}}. This file is owned by root, please see [[Special:MyLanguage/Viewing_and_editing_configuration_files|this guide]] if you need more information on how to edit this file. A full reference to these options can be found in the Arch Wiki linked below. This sections features some settings that may be of particular interest to Manjaro users. | ||
</translate> | |||
{{note|pacman.conf settings are case sensitive}} | {{note|pacman.conf settings are case sensitive}} | ||
<translate> | |||
Line 145: | Line 156: | ||
By default, pacman's output is monochrome but enabling colored output can make the output easier to read if your terminal supports colors. This can be enabled by uncommenting or adding the following line to the file | By default, pacman's output is monochrome but enabling colored output can make the output easier to read if your terminal supports colors. This can be enabled by uncommenting or adding the following line to the file | ||
Color | Color | ||
Line 155: | Line 167: | ||
=Troubleshooting= | =Troubleshooting= | ||
A separate page for pacman troubleshooting is available '''[[pacman troubleshooting|here]]'''. | A separate page for pacman troubleshooting is available '''[[Special:MyLanguage/pacman troubleshooting|here]]'''. | ||
=See Also= | =See Also= | ||
* [[System Maintenance]] | * [[Special:MyLanguage/System Maintenance|System Maintenance]] | ||
* [[Pacman-mirrors]] | * [[Special:MyLanguage/Pacman-mirrors|Pacman-mirrors]] | ||
* [[Pacman troubleshooting]] | * [[Special:MyLanguage/Pacman troubleshooting|Pacman troubleshooting]] | ||
* [[Downgrading packages]] | * [[Special:MyLanguage/Downgrading packages|Downgrading packages]] | ||
* [https://wiki.archlinux.org/index.php/Pacman ArchWiki: pacman] | * [https://wiki.archlinux.org/index.php/Pacman ArchWiki: pacman] | ||
* [https://wiki.archlinux.org/index.php/Pacman_tips ArchWiki: pacman tips] | * [https://wiki.archlinux.org/index.php/Pacman_tips ArchWiki: pacman tips] | ||
Line 170: | Line 182: | ||
[[Category:Contents Page]] | [[Category:Contents Page]] | ||
</translate> |