Linux Essentials Preparation · lesson 2 of 23 · 25 min
What Is a Distribution?
A Linux distribution (distro) bundles the Linux kernel with a package manager, system utilities, and often a desktop environment into a complete, installable OS. There are hundreds of distros — each optimized for different use cases.
Distribution Families
Choosing the Right Distribution
Release Models
Flashcard Drill
Distribution (distro) Linux kernel + package manager + utilities bundled into a complete OS. Debian family Uses .deb packages and apt — Ubuntu, Kali, Raspberry Pi OS. Red Hat family Uses .rpm packages and yum/dnf — RHEL, CentOS, Rocky Linux, Fedora. apt Package manager for Debian-based systems — apt install, apt update, apt upgrade. yum / dnf Package manager for RHEL-based systems — dnf is the modern replacement for yum. LTS Long Term Support — extended support period (5+ years) for stability. Rolling release Continuously updated — always latest packages. Arch Linux, openSUSE Tumbleweed. Rocky Linux Free RHEL-compatible enterprise Linux — community replacement for CentOS. Alpine Linux Tiny (~5MB) independent distro — uses apk package manager, popular for containers. Kali Linux Debian-based security distro — pre-loaded with penetration testing tools.
Knowledge Check — 12 Questions
Linux Distributions (Linux Essentials)
Which package format does the Debian family use?
- .rpm
- .deb
- .pkg
- .tar
Answer: .deb
Debian-based distros (Ubuntu, Kali, etc.) use .deb packages managed with apt/dpkg.
Which distribution is recommended for enterprise servers with commercial support?
- Ubuntu Desktop
- Arch Linux
- RHEL
- Alpine
Answer: RHEL
Red Hat Enterprise Linux (RHEL) provides enterprise-grade stability and commercial support.
The modern replacement for yum on RHEL-based systems is _____.
Answer: dnf
dnf (Dandified YUM) is the modern package manager for RHEL 8+ and Fedora.
Which release model continuously updates packages without versioned releases?
- Fixed release
- LTS
- Rolling release
- Stable release
Answer: Rolling release
Rolling release distros (Arch, openSUSE Tumbleweed) continuously update — always latest packages.
Rocky Linux was created as a replacement for:
- Ubuntu
- Debian
- CentOS
- Fedora
- Answer: CentOS
Rocky Linux was created as a free RHEL-compatible replacement after CentOS shifted to CentOS Stream.
Which distro is best for learning Linux due to its large community and documentation?
- Arch Linux
- Ubuntu
- Gentoo
- Alpine
Answer: Ubuntu
Ubuntu has the largest community, best documentation, and most beginner-friendly experience.
All Linux distributions use the same package manager.
- True
- False
Answer: False
Different distro families use different package managers — apt (Debian), yum/dnf (RHEL), pacman (Arch), apk (Alpine).
Which package manager does Alpine Linux use?
- apt
- yum
- pacman
- apk
Answer: apk
Alpine Linux uses apk (Alpine Package Keeper) as its package manager.
LTS releases are preferred in enterprise environments because:
- They have the latest features
- They have extended support periods (5+ years)
- They are rolling releases
- They are smaller in size
- Answer: They have extended support periods (5+ years)
LTS releases provide long-term security updates and stability — critical for enterprise servers.
Fedora serves as the upstream testing ground for _____.
Answer: RHEL
Fedora gets new features first — they are tested there before being included in RHEL.
Which distro family uses .rpm packages?
- Debian
- Red Hat
- Arch
- Alpine
Answer: Red Hat
Red Hat family (RHEL, CentOS, Fedora, Rocky Linux) uses .rpm packages managed with yum/dnf.
A developer wants a minimal Docker base image. Which distro is best?
- Ubuntu
- RHEL
- Alpine Linux
- Kali Linux
Answer: Alpine Linux
Alpine Linux is ~5MB — the smallest Linux base image, ideal for Docker containers.
Previous lesson: Linux and open source: history, kernel, FOSS, GPL vs permissive licenses
Back to Linux Essentials Preparation
Next lesson: Open source licensing: GPL v2/v3, LGPL, MIT, Apache, BSD — rights and obligations