← Linux Administration learning path
Linux Administration · Module 4 of 10

Package management

Install and update software.

📖 Key ideas

  1. Debian/Ubuntu: apt update, apt install nginx, apt upgrade.
  2. RHEL/Rocky: dnf install nginx.
  3. Repositories host signed packages.
  4. Snap and Flatpak provide universal packages.
  5. Keep systems patched for security.
💡 Real-life example: A package manager is an app store for the server with automatic dependency delivery.
aptDebian/Ubuntu package manager
dnfRHEL/Fedora package manager
RepositorySource of packages
DependencyPackage another needs