VPS & servers2 min read

Which Linux distribution for your server? Debian, Ubuntu, AlmaLinux, Rocky

Support period, package management and typical use of the systems compared, with a quick decision guide.

Debian, Ubuntu, AlmaLinux or Rocky Linux? For a server none of these four is a wrong choice, but they differ in support length, package management and in what guides on the web assume. Here is an overview.

The systems at TryNxt

System Family Package manager Security updates until about
Debian 12 Debian apt 2028 (with LTS)
Debian 13 Debian apt 2030 (with LTS)
Ubuntu 22.04 LTS Debian apt April 2027
Ubuntu 24.04 LTS Debian apt April 2029
Ubuntu 26.04 LTS Debian apt April 2031
AlmaLinux 8 Red Hat dnf 2029
AlmaLinux 9 Red Hat dnf 2032
AlmaLinux 10 Red Hat dnf 2035
Rocky Linux 9 Red Hat dnf 2032
Rocky Linux 10 Red Hat dnf 2035

The dates are those given by the projects themselves; for Ubuntu it is the free standard support. Systems whose support has ended are no longer offered for new servers.

Debian: calm and lean

Debian is the base of many other systems. It hardly changes within a release, needs little memory and runs for years without surprises. Good for everything that should simply run: web servers, VPNs, databases.

Ubuntu: the most guides

Ubuntu is based on Debian, ships newer software and is the system with the most guides on the web. Choose an LTS release, which gets five years of updates. If you are unsure, Ubuntu 24.04 is a good choice.

AlmaLinux and Rocky Linux: compatible with Red Hat

Both are free rebuilds of Red Hat Enterprise Linux and nearly identical to each other. They have very long support periods and are common where software is certified for Red Hat, for example some control panels or business applications. Instead of apt you use dnf, instead of UFW usually firewalld, and SELinux is enabled.

Quick decision

  • I am new to Linux: Ubuntu 24.04
  • It should simply run for years: Debian 13
  • My software requires Red Hat or RHEL: AlmaLinux 10 or Rocky Linux 10
  • I am following a specific guide: the system it was written for

Most guides in the help center are written for Debian and Ubuntu. On AlmaLinux and Rocky replace apt install with dnf install; the package names are often the same.

Switching systems

You switch the system in the Reinstall tab of your server. This sets up the disk from scratch and all data on it is gone afterwards. How to back up first is described in Reinstall your server: how to do it safely.

After installing, it is worth letting updates install automatically: Automatic security updates with unattended-upgrades.

Written by TryNxt team

We build and run TryNxt ourselves and write down here what we learn along the way.