APT Commands CheatSheet
APT Commands CheatSheet
● sudo apt update: Update the list of available packages and their
versions, but it does not install or upgrade any packages.
● sudo apt upgrade: Upgrade all installed packages to the newest available
versions.
● sudo apt full-upgrade: Upgrade packages, removing installed packages if
necessary.
● sudo apt dist-upgrade: Deprecated equivalent of full-upgrade.
● sudo apt clean: Clear the local repository of retrieved package files.
● apt download <package_name>: Download the .deb file for a package to the
current directory.