Files
org-roam/20230421124130-pacman.org
2025-11-05 09:18:11 +01:00

1.4 KiB

pacman

The pacman package-manager is one of the major distinguishing features of Arch Linux and Arco-Linux . It combines a simple binary package format with an easy-to-use build system. The goal of pacman is to make it possible to easily manage packages, whether they are from the official repositories or the user's own builds.

Pacman keeps the system up-to-date by synchronizing package lists with the master server. This server/client model also allows the user to download/install packages with a simple command, complete with all required dependencies.

Installing specific packages

To install a single package or list of packages, including dependencies, issue the following command:

  pacman -S package_name1 package_name2

upgrading packages

Pacman can update all packages on the system with just one command. This could take quite a while depending on how up-to-date the system is. The following command synchronizes the repository databases and updates the system's packages, excluding "local" packages that are not in the configured repositories:

 pacman -Syu

ask no permissions

pacman -Suy --noconfirm