Package Managers

For information on various package managers -



First, you should check to verify your pacman-mirrors are configured to the nearest location. Do this manually by editing /etc/pacman.d/mirrorlist, or run sudo pacman-mirrors -g -

[kapper@kanjaro ~ ]$ sudo pacman-mirrors -g
::INFO Downloading mirrors from
::INFO User generated mirror list
::INFO Custom mirror file saved: /var/lib/pacman-mirrors/custom-mirrors.json
::INFO Using default mirror file
::INFO Querying mirrors - This may take some time
  0.772 United_States  :
  0.756 United_States  :
::INFO Writing mirror list
::United_States   :
::INFO Mirror list generated and saved to: /etc/pacman.d/mirrorlist

Now, you should have much faster download speeds when updating or grabbing packages.

To install a package, run sudo packman -Syu <package>. For example, to install htop, run sudo pacman -Syu htop. This will not only install htop, but first it will check  that your package list and installed packages are up to date to ensure you get the latest version.

If you are used to the apt package manager, this is basically like running sudo apt update && sudo apt upgrade, pacman  can run these updates alongside every new package installation with the -Syu parameters.

No Comments
Back to top