# Quick Pacman Guide: The Linux Arch Package Manager
"pacman 'is the excellent package manager of Arch Linux and its derivatives (such as Manjaro or EndeavourOS). Its objective is to be simple, light and powerful. In this guide, we review the most essential commands to keep your system up to date.
# 1. Update the System
Before installing anything, it is essential to synchronize the databases and update existing packages.
«'bash
sudo pacman -Syu
«`
* '-S '(Sync): Synchronize.
* '- and '(refresh): Download the repository databases.
* '-u '(sysupgrade): Updates obsolete packages.
# 2. Install a Package
To install a new software, simply use:
«'bash
sudo pacman -S name _ of _ package
«`
# 3. Remove a Package
If you no longer need a program, you can delete it in several ways:
* Only the package: 'sudo pacman -R name _ of the _ package'
* Package and its unused dependencies: 'sudo pacman -Rs name _ of the _ package'
# 4. Search Packages
Aren't you sure what a package is called? Search the repositories:
«'bash
pacman -Ss word _ key
«`
Or if you want to see what you already have installed:
«'bash
pacman -Qs word _ key
«`
# 5. Clean the Cache
Over time, 'pacman' accumulates old versions of packages installed in '/ var / cache / pacman / pkg /'. To release space:
«'bash
sudo pacman -Sc
«`
'pacman 'is an incredibly efficient tool. With these basic commands, you have total control over your computer's software. Happy hacking!


