About Lesson
Pacman is the default package manager for Arch-based systems.
-
Sync Package Databases:
-
Command:
sudo pacman -Syy
-
-
Install a Package:
-
Command:
sudo pacman -S [package_name]
-
Example:
sudo pacman -S htop
-
-
Remove a Package:
-
Command:
sudo pacman -R [package_name]
-
Example:
sudo pacman -R htop
-
-
Upgrade the System:
-
Command:
sudo pacman -Syu
-