Pacman is a package management utility for Arch Linux and its derivatives, such as Manjaro. It is designed to handle the installation, upgrading, and removal of software packages in a streamlined and efficient manner. Here’s an overview of its key features and functionalities:
Package Installation and Removal:
-S
option.-R
option, allowing you to keep or delete configuration files.Package Updates:
-Syu
option.Dependency Management:
Local Package Database:
Support for Multiple Repositories:
Configuration and Customization:
/etc/pacman.conf
file, allowing users to enable or disable repositories and customize behavior.Update the package database:
sudo pacman -Sy
Install a package:
sudo pacman -S package_name
Remove a package:
sudo pacman -R package_name
Upgrade all installed packages:
sudo pacman -Syu
Search for a package:
pacman -Ss search_term
Show package information:
pacman -Si package_name
List installed packages:
pacman -Q
Clean up unused packages:
sudo pacman -Rns $(pacman -Qdtq)