Ubuntu/Apt
Packages Commands
Manage software packages on Ubuntu and Debian with APT. Install, update, remove, and search packages from official and third-party repositories.
21 commands
Pro Tips
Always run 'sudo apt update' before 'sudo apt install' to get the latest package lists.
Use 'apt list --upgradable' to see which packages have updates available before running upgrade.
Use 'apt-cache search keyword' to find packages by name or description.
Common Mistakes
'apt upgrade' updates packages but won't remove old packages. Use 'apt full-upgrade' for distribution upgrades.
Adding third-party PPAs can break system stability. Verify the source before adding with 'add-apt-repository'.