Pacman command in Arch Linux - GeeksforGeeks
www.geeksforgeeks.org › pacman-command-in-arch-linuxDec 21, 2021 · In arch Linux, we can upgrade the full system by only one command using the Pacman. Use the following command to update the system: sudo pacman -Suy. Let’s understand the meaning, S tell the pacman to synchronize the local database with the main database. u tells the pacman to upgrade the packages and y update the local catch on the system. Basically, this command synchronizes the local pacman database with the main repository database and then updates the system.
Pacman cheatsheet
https://devhints.io/pacmanOrphans. Command. Description. pacman -Qdt. List unneeded packages. pacman -Rns $ (pacman -Qdtq) Uninstall unneeded packages. Avoid orphans by using pacman -Rsc to remove packages, which will remove unneeded dependencies.