1
0
mirror of https://github.com/tiyn/wiki.git synced 2026-09-13 18:41:35 +02:00
Files
wiki/wiki/linux/package_manager/apt.md
tiyn c03daea525 Corrected various typographic errors
- substituted en-dash for hyphen where needed
- renamed files to avoid confusion due to identical name
- added links
- fixed capitalization
- fixed line breaks
2026-07-02 09:12:29 +02:00

1.0 KiB
Raw Blame History

APT

In Debian the APT package manager is used. It is also used for various Debian-based distributions.

Usage

This section addresses various usages of the APT package manager.

Updating & Upgrading

This section addresses the updating of all packages managed by APT. To update the packages it is recommended to first update the package list with the following command.

apt update

Afterward there are two possible update types without changing the major release version.

The following command upgrade updates the packages only if no new or previously removed dependencies are needed. It is generally used for day-to-day updating without bigger jumps between versions.

apt upgrade

The other option is full-upgrade which was previously also known as dist-upgrade. This command will also install, remove and replace dependencies if it is needed to update the package. It is mostly used for bigger updates like Kernel or release upgrade without changing the major version.

apt full-upgrade