Back to course

67. Introduction to Package Management (APT)

Linux Basics: From Zero to CLI Hero

Software Installation and Maintenance

Installing software from source code is complex. Linux distributions use Package Managers to automate the process of installation, upgrading, configuration, and removal.

Package Manager Families

  • Debian/Ubuntu: Uses dpkg package format and APT (Advanced Package Tool) commands (apt-get, apt).
  • Red Hat/Fedora/CentOS: Uses RPM package format and YUM/DNF commands.

This course focuses on APT, used by Ubuntu.

Repositories

APT relies on repositories, which are online storage locations containing software packages. The list of configured repositories is stored in /etc/apt/sources.list.