Linux Package Management & Software Building — apt/dpkg, dnf/rpm, pacman, from-source & kernel build

Parent: DevOps, Infrastructure & Observability · researched 2026-06-01T06:05:11.290Z· 17 sources · 8 concepts · skill linux-package-management

A Linux package is an archive of files plus metadata (name, version, dependencies, scripts,

Overview

Core Concepts (the shared branch)

apt / dpkg (Debian, Ubuntu, Mint, Pop!_OS)

dnf / rpm (Fedora, RHEL, Rocky, Alma, openSUSE uses zypper)

pacman (Arch, Manjaro, EndeavourOS)

Universal formats (cross-distro, dependency-bundled)

Building from source

The three build systems you'll meet

Source-build hygiene (the patterns that keep it maintainable)

Kernel build basics

Anti-patterns

References

Children

Frontier under this node: Building from source (autotools configure/make, CMake, Meson/Ninja, prefix isolation, checkinstall, GNU Stow, ldconfig), Cross-distro troubleshooting (NO_PUBKEY, dpkg interrupted, broken/held deps, rpmdb corruption, pacman PGP signature, missing -dev headers, kernel won't boot), Linux kernel build (menuconfig/localmodconfig/olddefconfig, make -j, modules_install, bzImage, initramfs + GRUB, fallback boot), Shared package model (packages, dependencies, repositories, transactions, signing, explicit-vs-dependency), Universal formats — Flatpak/Snap/Nix (dependency-bundled, cross-distro tradeoffs), apt/dpkg on Debian/Ubuntu (APT 3.0 solver3, deb822 + Signed-By keyrings, apt-mark hold, dpkg low-level), dnf/rpm on Fedora/RHEL (dnf5, transaction history undo/rollback, gpgcheck, rpm -V/--rebuilddb, RHEL core-package caveat), pacman on Arch (-Syu vs the partial-upgrade hazard, flag grammar, orphans, archlinux-keyring desync, PKGBUILD/makepkg/AUR)

← the whole tree · 3D view· how to read this page