This content has been automatically translated from Ukrainian.
apt-get it is a command-line tool on Debian-based systems such as Ubuntu used to work with packages. It is part of the larger APT (Advanced Package Tool) system tool.
Basic functions apt-get:
- apt-get update: Updates the package list in your repository. This does not update the packages themselves, but only informs the system about new versions of the packages available for download. Tobte downloads information about which new packages or updates have appeared.
- apt-get upgrade: Updates all installed packages to the latest versions, based on the list that was updated by the command apt-get update.
- apt-get install: Installs a new package. For example, apt-get install steam will install Steam.
- apt-get remove: Removes the package from your system.
- apt-get autoremove: Removes packets that have been automatically installed to support other packets but are no longer needed.
- apt-get dist-upgrade: Updates all installed packages to the latest versions, just like apt-get upgrade, but also knows how to handle dependencies of new and old packages.
In newer versions of Ubuntu, you will see that apt-get replaced simply by apt, which has a slightly improved user interface, but basically performs the same functions.
This post doesn't have any additions from the author yet.