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 48: | Line 48: | ||
=Installing Packages= | =Installing Packages= | ||
{{ | {{BoxSuccess|Warning|Never install a package without updating the system first. On a rolling release this can lead to an unbootable system}} | ||
To install a software package, the basic syntax is {{ic|pacman -S packagename}}. However, installing a package without updating the system will lead to a partial upgrade situation so all the examples here will use {{ic|pacman -Syu packagename}} which will install the package and ensure the system is up to date. For example, to install smplayer the command is: | To install a software package, the basic syntax is {{ic|pacman -S packagename}}. However, installing a package without updating the system will lead to a partial upgrade situation so all the examples here will use {{ic|pacman -Syu packagename}} which will install the package and ensure the system is up to date. For example, to install smplayer the command is: | ||
Line 56: | Line 54: | ||
You will then be presented a list of software to install. You may notice this list has more packages than you requested. This is because many packages also have dependencies which are packages that must be installed in order for the software you selected to function properly. | You will then be presented a list of software to install. You may notice this list has more packages than you requested. This is because many packages also have dependencies which are packages that must be installed in order for the software you selected to function properly. | ||
Pacman can also directly install packages from the local system or a location on the internet. The format of that command is {{ic|pacman -U packagelocation}}. For example, to install a copy of your package cache you could do something like: | Pacman can also directly install packages from the local system or a location on the internet. The format of that command is {{ic|pacman -U packagelocation}}. For example, to install a copy of your package cache you could do something like: | ||
Line 64: | Line 61: | ||
{{UserCmd|command=sudo pacman -U <nowiki>https://mirror.alpix.eu/manjaro/stable/community/x86_64/smplayer-19.5.0-1-x86_64.pkg.tar.xz</nowiki>}} | {{UserCmd|command=sudo pacman -U <nowiki>https://mirror.alpix.eu/manjaro/stable/community/x86_64/smplayer-19.5.0-1-x86_64.pkg.tar.xz</nowiki>}} | ||
{{BoxSuccess|Warning|When using pacman -U it is up to you to ensure that the package you are installing is fully compatible with your system.}} | |||
{{ | |||
=Removing Packages= | =Removing Packages= | ||
{{ | {{BoxSuccess|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.}} | ||
Line 138: | Line 133: | ||
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. | 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. | ||
{{ | {{BoxSuccess|Note|pacman.conf settings are case sensitive}} | ||
==Enabling Color Output== | ==Enabling Color Output== |