💾 Archived View for darknesscode.xyz › notes › linux-package-manager.gmi captured on 2024-08-18 at 17:28:14. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2021-12-05)
-=-=-=-=-=-=-
Helpful commands to update/upgrade/remove programs in your Linux distribution, this is just related with the packages manager.
Most used commands for **Arch Linux** based systems
Update system and repositories
sudo pacman -Suy
Install a programs
sudo pacman -S <program-name>
Search for a program
pacman -Ss <program-name>
Search for already install program
pacman -Qs <program_name>
Uninstall a program
sudo pacman -Rs <program-name>
To clean cache
sudo pacman -Sc
To clean cache more aggressive, this clean all the files in the cache
sudo pacman -Scc
Remove orphan packages
pacman -Qtdq | pacman -Rns -
Learn more about **Arch Linux** package manager [pacman]
Most used commands for **Debian** base systems
Update system and repositories
sudo apt update -y
Install updates
sudo apt upgrade -y sudo apt dist-upgrade -y
Install a programs
sudo apt install -y <program-name>
Reinstall a program
sudo apt reinstall <program-name>
Search for a program
sudo apt serach <program-name>
Uninstall a program
sudo apt remove --purge <program-name>
To clean cache
sudo apt autoclean
Remove orphan packages
sudo apt autoremove
Learn more about **Debian** package manager [apt]
Most used commands for **Void Linux**
Update system and repositories
sudo xbps-install -Suy
Install a programs
sudo xbps-install -S <program-name>
Search for a program
xbps-query -Rs <program-name>
Uninstall a program
sudo xbps-remove -f <program-name>
To clean cache
sudo xbps-remove -O
Remove orphan packages
sudo xbps-remove -o
Learn more about **Void Linux** package manager [xbps]
----------
----------
© DarknessCode