brain initiation
This commit is contained in:
23
20230421124130-pacman.org
Normal file
23
20230421124130-pacman.org
Normal file
@@ -0,0 +1,23 @@
|
||||
:PROPERTIES:
|
||||
:ID: d88b7b60-742d-4bc0-8b48-3fbcfad2373d
|
||||
:END:
|
||||
#+title: pacman
|
||||
|
||||
The pacman [[id:b7c4f849-d1b1-4837-8634-82f6976a1473][package-manager]] is one of the major distinguishing features of Arch Linux and [[id:5fada795-19a3-4ba6-97c0-0b70bd728a2f][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 [[id:f2b1d5af-1a7d-47a5-95c8-4a85d558419e][server]]. This server/[[id:70899526-8b7d-4976-94fc-cc07c41e550a][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:
|
||||
#+begin_src bash
|
||||
pacman -S package_name1 package_name2
|
||||
#+end_src
|
||||
* 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:
|
||||
#+begin_src
|
||||
pacman -Syu
|
||||
#+end_src
|
||||
* ask no permissions
|
||||
#+begin_src
|
||||
pacman -Suy --noconfirm
|
||||
#+end_src
|
||||
|
||||
Reference in New Issue
Block a user