Ubuntu Update Commands
What the update commands do in Ubunto.
apt-get update
: Updates the list of available packages and their versions, but does not install or upgrade any packages.apt-get upgrade
: Installs newer versions of the packages you have installed.apt-get install
: Installs one or more package(s) on your system.apt-get remove
: Removes one or more package(s) from your system.apt-get autoremove
: Removes packages that were automatically installed to satisfy dependencies for other packages and are no longer needed.apt-cache search
: Searches for a package by keyword.apt-cache show
: Displays detailed information about a package.apt-cache policy
: Shows the version of a package that would be installed withapt-get install
.apt-get clean
: Removes files that were downloaded to install packages from the package manager’s cache.apt-get autoclean
: Removes all but the latest versions of packages from the package manager’s cache.