
Sometimes a package group will contain a large amount of packages, and there may be only a few that you do or do not want to install. Will prompt you to select the packages from the gnome group that you wish to install. Some packages belong to a group of packages that can all be installed simultaneously. Virtual packages cannot be installed by their name, instead they become installed in your system when you have installed a package providing the virtual package. Virtual packages allow other packages to not name a specific package as a dependency, in case there are several candidates. # pacman -S plasma-Ī virtual package is a special package which does not exist by itself, but is provided by one or more other packages. To install a number of packages sharing similar patterns in their names, one can use curly brace expansion. To install the version from the extra repository in this example, the repository needs to be defined in front of the package name: Sometimes there are multiple versions of a package in different repositories (e.g. To install a list of packages with regex (see this forum thread): To install a single package or list of packages, including dependencies, issue the following command: See System maintenance#Partial upgrades are unsupported and BBS#89328. In practice, do not run pacman -Sy package_name instead of pacman -Sy u package_name, as this could lead to dependency issues. Warning: When installing packages in Arch, avoid refreshing the package list without upgrading the system (for example, when a package is no longer found in the official repositories).
