Download PDF Download DOCX

An overview with a title page: the PDF is ready to print, the DOCX lets you add to it.

Русская версия →

Linux and Unix: an overview
Linux and Unix. Drawing by the author.

“Install Linux” is not one decision but dozens. Distributions differ in philosophy, packages, support windows and the audience they serve. The goal of this article is not “which Linux is best” but which one suits you.

Unix and Linux: the difference

Unix is a family of operating systems that began with the Bell Labs work of 1969. Its ideas — everything is a file, small programs doing one job — underpin almost all modern server culture.

Linux is a kernel written by Linus Torvalds in 1991. The kernel alone is useless: a distribution adds programs, an installer and a way to manage packages.

Officially “UNIX” is a certified trademark held by macOS, AIX, HP-UX and Solaris. Linux carries no such certificate but behaves like Unix, which is why it is called Unix-like.

What a distribution consists of

  • Kernel — drivers, scheduler, filesystems.
  • Init system — systemd in most distributions.
  • Package manager — apt, dnf, pacman, zypper, apk, nix.
  • Desktop environment — GNOME, KDE, XFCE; servers have none.
  • Repositories — the software warehouses that install everything with one command.

Repositories and support windows separate distributions far more than wallpapers and themes.

Distribution families

Linux distribution families
Distribution families. Drawing by the author.

Debian and its descendants

Debian is the foundation: stable, conservative, with a huge repository. Packages are deb, the manager is apt.

Ubuntu is the best-known descendant. LTS releases every two years, supported for 5–10 years. Good for beginners, servers and clouds.

Linux Mint is Ubuntu with familiar styling and less clutter — the best first experience.

Pop!_OS comes from System76 and targets developers and NVIDIA cards.

Kali and Parrot serve penetration testing; they are awkward as everyday systems.

Red Hat and the enterprise line

Fedora is the leading edge: new kernels, Wayland, fresh versions, a release every six months.

RHEL is the commercial enterprise standard with ten years of support.

Rocky Linux and AlmaLinux are free RHEL-compatible builds that replaced CentOS after its course changed.

CentOS Stream is now an intermediate branch before RHEL, not a stable server distribution.

Arch and its relatives

Arch Linux is rolling release: continuous updates, fresh software, and a willingness to read documentation.

Manjaro is Arch with delayed updates and a graphical installer.

EndeavourOS is nearly plain Arch installed in a few clicks.

SUSE

openSUSE Tumbleweed is rolling release with automated testing.

openSUSE Leap is the stable line.

SUSE Linux Enterprise is the corporate platform, popular in Europe and with SAP.

Independent and special

Alpine is a tiny musl-based distribution and the standard for containers.

NixOS treats configuration as code: the whole system is reproducible.

Gentoo builds from source for maximum tuning.

Slackware is the oldest survivor — simple, with no magic.

Specialised systems

Some distributions do one job and do it well:

  • TrueNAS — NAS and storage on ZFS.
  • OpenMediaVault — a simpler home file server.
  • Unraid — flexible storage with a paid licence.
  • Proxmox — virtualisation on Debian.
  • OPNsense / pfSense — firewall and router.
  • OpenWrt — for home routers.
  • Raspberry Pi OS — for Raspberry Pi boards.

Unix beyond Linux

Unix systems: macOS, FreeBSD, OpenBSD, NetBSD
Unix systems. Drawing by the author.

macOS is the only mass-market system with an official UNIX certificate; its Darwin kernel grew out of BSD.

FreeBSD offers stable servers, ZFS and strong networking; many hosters and Netflix rely on it.

OpenBSD stands for security and minimalism; OpenSSH comes from it.

NetBSD is about portability and runs on old or exotic machines.

illumos is the Solaris heir with ZFS and zones.

How to choose

How to choose a Linux distribution
The order of choosing. Drawing by the author.

Start with “where does it go”: a home desktop, a laptop, a server, a NAS or a firewall. Then ask how much experience you have and what support window you need.

What suits what

Which system fits which task
Matching by task. Drawing by the author.

First Linux at home. Linux Mint or Ubuntu LTS: it works out of the box and documentation is plentiful.

A laptop with new hardware. Fedora, Ubuntu or Arch: fresh kernels support new chips better.

An old computer. Mint XFCE, Lubuntu or Alpine: they run on 2–4 GB of memory.

A server. Debian stable, Ubuntu LTS, Rocky Linux: predictability and long support.

A home NAS. TrueNAS or OpenMediaVault: disks, snapshots, network access.

A firewall. OPNsense or OpenWrt: routing and filtering.

Containers and development. Ubuntu Server or Alpine: a small image, a fast start.

Rolling release or LTS

Rolling (Arch, Tumbleweed) keeps software fresh, but updates are frequent and occasionally need attention.

LTS (Ubuntu LTS, Debian stable, RHEL) ages slowly, yet never surprises you. For servers that is the main advantage.

Package managers

  • apt — Debian, Ubuntu, Mint.
  • dnf — Fedora, Rocky, Alma.
  • pacman — Arch, Manjaro.
  • zypper — openSUSE, SUSE.
  • apk — Alpine.
  • nix — NixOS.

Myths about Linux

  • “Only for programmers.” Mint and Ubuntu install and configure without a terminal.
  • “Nothing works.” Browsers, LibreOffice, Telegram and Steam do; the exceptions are narrow professional packages.
  • “It all looks the same.” Dozens of distributions barely resemble each other.
  • “Secure by default.” Fewer viruses, but updates and care are still required.

How the filesystem works

Linux directory structure
Where things live in Linux. Drawing by the author.

Linux has no C: drive. Everything starts at the root /, and devices are mounted into the directory tree.

Your files live in /home/name, settings in /etc, programs in /usr, logs in /var/log. The FHS standard defines this layout, so it is nearly the same across distributions.

Permissions are set for owner, group and others: read (r), write (w), execute (x). That is where sudo comes from — temporary privilege elevation.

Desktop environments

The graphical shell is a separate layer you can swap without reinstalling.

  • GNOME — modern and minimal, the default in Ubuntu and Fedora.
  • KDE Plasma — flexible and endlessly configurable.
  • XFCE and MATE — light, for older machines.
  • Cinnamon — the familiar Windows-like layout, Linux Mint's default.
  • i3, Sway, Hyprland — tiling managers for keyboard people.

The terminal: five commands to start

  • ls — what is in the folder.
  • cd — change directory.
  • cp and mv — copy and move.
  • sudo apt update && sudo apt upgrade — update Debian and Ubuntu.
  • df -h — how much space the disks have.

The terminal is optional but faster: one line instead of ten windows.

Services and logs

systemd manages services: systemctl status, systemctl restart, systemctl enable. Logs are read with journalctl -u name.

The same commands work on a server and on a home computer — that is why Linux knowledge transfers so well.

Updates and backups

Updates come from one command or one button in the software centre. On a server it pays to enable automatic security updates.

Backups are a separate habit: important files go to another disk or to the cloud. Linux offers rsync, Borg, Restic and filesystem snapshots.

Gaming

Steam and Proton run most modern games. The main problem is online games with anti-cheat: support depends on the developer.

For older games Lutris and Wine help; for emulation there is RetroArch.

Laptops

Modern kernels handle batteries and suspend well. Sometimes tlp or power-profiles-daemon is needed to extend runtime.

Fingerprint readers, keyboard backlight and touchpad gestures depend on the model — check them on a live USB before installing.

Moving from Windows

Linux equivalents of Windows programs
The familiar and its equivalents. Drawing by the author.

Documents open in LibreOffice or OnlyOffice, browsers are the same, messengers exist natively. Photoshop is replaced by GIMP and Krita, the code editor by VS Code.

The real difference is not the programs but how software arrives: from a repository rather than from download sites.

Common problems and fixes

  • It will not boot after an update. Boot the previous kernel from the GRUB menu and roll the package back.
  • Wi-Fi does not work. Check the kernel module and firmware; sometimes a proprietary driver is needed.
  • Out of space. df -h shows the partition, du -h the folders.
  • Black screen with an NVIDIA card. Boot with nomodeset and install the driver.

Security

Linux is protected by configuration, not by magic: user permissions, SELinux or AppArmor, a firewall, updates.

The rules are simple: do not work as root, install from repositories, use two-factor authentication on servers and keep backups.

Selection table

  • Beginner: Linux Mint Cinnamon, Ubuntu LTS.
  • Laptop: Fedora Workstation, Ubuntu, Pop!_OS.
  • Weak machine: Mint XFCE, Lubuntu, Alpine.
  • Server: Debian stable, Ubuntu LTS, Rocky Linux.
  • NAS: TrueNAS, OpenMediaVault.
  • Firewall: OPNsense, OpenWrt.
  • Experiments: Arch, NixOS, Gentoo.
  • BSD: FreeBSD, OpenBSD, NetBSD.

What to remember

  • Linux is a kernel; a distribution is the kernel plus programs and repositories.
  • Beginners: Mint or Ubuntu. Servers: Debian, Ubuntu LTS, Rocky.
  • Rolling for fresh versions, LTS for stability.
  • Unix is more than Linux: macOS, FreeBSD, OpenBSD, NetBSD.
  • Choose by task, not by name.