Two Families, One Linux
1. Where the families came from Any Linux
The split is historical rather than technical. Both families run the same kernel, the same GNU utilities, the same systemd and the same applications. What differs is packaging, defaults and conventions - the decisions each project made about how to assemble those identical parts.
2. The Red Hat pipeline, and why Rocky exists RPM family
Until 2020, CentOS was a free rebuild sitting downstream of RHEL - the standard choice for anyone who wanted RHEL without the subscription. Red Hat then repositioned it as CentOS Stream, upstream of RHEL, which made it a preview rather than a copy.
Rocky Linux and AlmaLinux were founded in response, and both do what CentOS used to do: rebuild RHEL from source, bug-for-bug compatible, free. For learning purposes they are interchangeable with RHEL itself, and this course uses Rocky.
3. What is identical Any Linux
Before the differences, the far longer list of things that do not change. Everything below is the same on Mint, Ubuntu Server, Debian, Rocky, RHEL and Fedora:
This is why the intermediate course transfers almost entirely. You are not learning a second operating system; you are learning where one you already know keeps things in a different place.
4. What genuinely differs Any Linux
| Area | Debian family | RPM family |
|---|---|---|
| Package format | .deb | .rpm |
| Low-level tool | dpkg | rpm |
| Dependency tool | apt, apt-get | dnf (formerly yum) |
| Repository config | /etc/apt/sources.list.d/ | /etc/yum.repos.d/*.repo |
| Mandatory access control | AppArmor (path-based) | SELinux (label-based) |
| Firewall front end | ufw, or nftables directly | firewalld |
| Network configuration | netplan (Ubuntu), NetworkManager | NetworkManager, nmcli |
| Service defaults | Enabled and started on install | Installed but not started |
| Web server package | apache2, config in sites-available | httpd, config in conf.d |
| Web content root | /var/www/html | /var/www/html (same, but SELinux-labelled) |
| Legacy config directory | — | /etc/sysconfig/ |
| Default filesystem | ext4 | XFS |
| Administrative group | sudo | wheel |
| Root login | Root password disabled by default | Root password set during install |
- Installing a service does not start it on the RPM side. On Ubuntu,
apt install nginxleaves you with a running web server. On Rocky,dnf install nginxleaves you with an installed one that is doing nothing. You mustsystemctl enable --now nginx. This is a deliberate policy difference - Red Hat's view is that starting a network service without being asked is a security decision the administrator should make. - SELinux will block things AppArmor would not. Serving web content from a non-standard directory, or having a service listen on an unusual port, works on Ubuntu and is refused on Rocky. The service starts, the logs look fine, and the request is denied. Module 11 covers this properly; until then, if something works on deb-srv and mysteriously does not on rpm-srv, SELinux is the first suspect.
5. Translating between them Any Linux
| Task | Debian family | RPM family |
|---|---|---|
| Refresh metadata | apt update | dnf check-update |
| Install | apt install pkg | dnf install pkg |
| Remove | apt remove pkg | dnf remove pkg |
| Upgrade everything | apt upgrade | dnf upgrade |
| Search | apt search term | dnf search term |
| Package details | apt show pkg | dnf info pkg |
| List a package's files | dpkg -L pkg | rpm -ql pkg |
| Which package owns a file | dpkg -S /path | rpm -qf /path |
| List installed | dpkg -l | rpm -qa |
| Which package provides a command | apt-file search bin/x | dnf provides */x |
| Open a firewall port | ufw allow 80/tcp | firewall-cmd --add-service=http --permanent |
dnf deliberately mirrors apt's verbs, so the high-level commands read almost identically. The low-level query tools differ more: rpm uses a query mode with combining flags - -q to query, then l for files, f for the owning file, a for all, i for info. Read rpm -qf as "query, by file" and it stops looking arbitrary.6. Release models Any Linux
| Distribution | Release cadence | Support | Use for |
|---|---|---|---|
| Debian Stable | ~2 years | ~3 years, +2 LTS | Servers where conservatism is a feature |
| Ubuntu LTS | 2 years (April, even years) | 5 years, extendable to 10 | The commonest server and cloud choice |
| Ubuntu interim | 6 months | 9 months | Not for servers |
| RHEL / Rocky / Alma | ~3 years major, ~6 months minor | 10 years | Enterprise, long-life systems |
| Fedora | ~6 months | ~13 months | Seeing what is coming; workstations |
| Arch, openSUSE Tumbleweed | Rolling | Continuous | Not typically servers |
Long support is the whole product in the enterprise world. A ten-year window means a system installed today receives security patches until 2036 without a version upgrade, and that certified applications will still be supported on it. The trade is old software versions - RHEL 9 ships PHP 8.0 while Fedora ships 8.4 - which is why module streams and third-party repositories exist, and which Module 3 covers.
7. Server architectures Any Linux
| Architecture | Also called | Where you meet it |
|---|---|---|
| x86_64 | AMD64, x64 | The overwhelming majority of servers and VPS instances |
| AArch64 | ARM64 | Cloud instances (AWS Graviton, Ampere), Raspberry Pi, increasingly cheap VPS |
| RISC-V | — | Emerging, open instruction set. Awareness only for now |
| x86 | i386, 32-bit | Legacy. Ubuntu and RHEL no longer ship it |
$ uname -m x86_64 $ arch x86_64 $ lscpu | head -4 Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit
Architecture matters when you download a package by hand, choose a container image, or select a VPS. An ARM instance is often noticeably cheaper for the same performance, and everything in this course runs on it - but a .deb or .rpm built for x86_64 will not install, and container images must be multi-architecture or built for the right one.
8. Software licensing Any Linux
| Licence | Type | Key obligation |
|---|---|---|
| GPL v2 / v3 | Copyleft | Distribute modifications under the same licence, with source |
| LGPL | Weak copyleft | Libraries may be linked by proprietary software |
| AGPL | Strong copyleft | Also triggers on network use, not only distribution |
| MIT, BSD, Apache 2.0 | Permissive | Attribution; Apache 2.0 adds a patent grant |
| Proprietary | Closed | Whatever the vendor's terms say |
The kernel is GPLv2, which is why every distribution must publish its kernel sources - and why Rocky and AlmaLinux are able to exist at all. Open source is not the same as free of charge: RHEL is open source software sold with a support subscription, and that is entirely consistent with the licence. What you pay for is support, certification and the ten-year commitment, not the code.
9. Display technologies Any Linux
Your servers have none of this, but the exam expects the vocabulary.
| Component | Does | Examples |
|---|---|---|
| Display server | Manages the screen, input and windows | X11 / Xorg (legacy), Wayland (modern) |
| Display manager | The graphical login screen; starts the session | LightDM (Mint), GDM (GNOME), SDDM (KDE) |
| Window manager | Draws borders, handles placement and focus | Muffin (Cinnamon), Mutter, KWin, i3 |
| Desktop environment | The whole assembled experience | Cinnamon, GNOME, KDE Plasma, XFCE |
X11's design lets an application display on a different machine, which is what ssh -X uses. Wayland replaces it with a simpler, more secure model and is now the default in Fedora, RHEL 9 and Ubuntu. On a server you want none of them: systemctl get-default should return multi-user.target, not graphical.target.