Arch linux has a wide variant of package manager. Here a list of package manager that are used by myself.
- pacman (offical Arch repository)
- yay (community based repository also known as AUR)
- flatpak (sandbox like installation with every dependency included; more save needed)
I would recommend only to use the packages from the offical Arch repository. Use yay(AUR) and flatpak(FlatHub) only if not possible to install via pacman(Arch).
Here an example for basic use of the package manager.
#!/bin/bash
# install
sudo pacman -S packagename
yay -S packagename
flatpak install flathub packagename
# uninstall
sudo pacman -Rns packagename
yay -Rns packagename
flatpak uninstall packagename
# update
sudo pacman -Syu
yay -Syu
flatpak updateHere you can search after the required packages.