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.

30 Jun 10:50

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

meme code
meme code@memecode
30 Jun 12:08

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

meme code
meme code@memecode
30 Jun 12:15

What is the difference between QuickSort and MergeSort?

meme code
meme code@memecode
03 Jul 05:03

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

meme code
meme code@memecode
03 Jul 06:45

What is an API (Application Programming Interface)?

meme code
meme code@memecode
10 Jul 05:43

What is a distribution?

meme code
meme code@memecode
24 Jul 11:25

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

meme code
meme code@memecode
24 Jul 11:47

How to change the language in Steam to Ukrainian?

meme code
meme code@memecode
24 Jul 12:01

What is "Vulkan Shader Processing" in Steam?

meme code
meme code@memecode
24 Jul 12:17

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

meme code
meme code@memecode
20 Nov 19:35

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

meme code
meme code@memecode
29 Nov 08:47

What is the difference between var and let in Javascript?

meme code
meme code@memecode