All original content is created in Ukrainian. Not all content has been translated yet. Some posts may only be available in Ukrainian.Learn more

What is apt-get in Ubuntu?

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.

Jun 30, '23 10:50

What is Recursion? An example of recursion in real life. The consequences of infinite recursion.

Jun 30, '23 12:08

What is MergeSort? When and by whom was it created? How does MergeSort work?

Jun 30, '23 12:15

What is the difference between QuickSort and MergeSort?

Jul 3, '23 05:03

What is MS-DOS? When and by whom was MS-DOS created?

Jul 3, '23 06:45

What is an API (Application Programming Interface)?

Jul 10, '23 05:43

What is a distribution?

Jul 24, '23 11:25

How to install Steam on Ubuntu? Installing Steam via the terminal.

Jul 24, '23 11:47

How to change the language in Steam to Ukrainian?

Jul 24, '23 12:01

What is "Vulkan Shader Processing" in Steam?

Jul 24, '23 12:17

How to make Counter-Strike: GO fullscreen in Ubuntu without launching the game?

Nov 20, '23 19:35

How to recover a deleted file (Trix) that was stored on Amazon S3?

Nov 29, '23 08:47

What is the difference between var and let in Javascript?