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