Utilities
pacman – package manager utility
Operations
-S, --sync | Synchronize packages. Packages are installed directly from the remote repositories, including all dependencies required to run the packages. |
-U, --upgrade | Upgrade or add package(s) to the system and install the required dependencies from sync repositories. |
-R, --remove | Remove package(s) from the system. |
Options
-y, –refresh | Download a fresh copy of the master package databases (repo.db) from the server(s) defined in pacman.conf(5). |
-u, –sysupgrade | Upgrades all packages that are out-of-date. |
makepkg – package build utility
-s, --syncdeps | Install missing dependencies using pacman. |
makepkg -s
Tasks
Update all
pacman -Syu
Install something
pacman -S package_name1 package_name2 ...
pacman -U zfs-linux-2.2.3_6.7.9.arch1.1-1-x86_64.pkg.tar.zst
Remove something
pacman -R zfs-linux
Documentation
https://wiki.archlinux.org/title/Pacman
https://man.archlinux.org/man/pacman.8.en
https://wiki.archlinux.org/title/makepkg
https://man.archlinux.org/man/makepkg.8.en