Once you’ve chosen your server’s operating system – out of either Windows or Linux in most cases – you’ll need to decide what version you want to use. For Linux, these come in the form of distributions (or distros).

Ultimately, if you’re already familiar with one Linux distro, you’re likely going to keep using that one. But if you’re just getting started in the world of Linux, there are some key differences between Linux distros.

Debian vs Ubuntu vs CentOS

What is Debian?

Debian was one of the first Linux distributions, having been available since 1993. Currently on version 10, Debian had a 17% market share of Linux web servers in April 2020.

Release schedules

Stable Debian releases are unscheduled but tend to be about once every two years. As a result of this large gap between releases, Debian can be seen as being quite slow to introduce new technology. This means that out of the box, a Debian Linux distro might not include some of the latest software releases and technologies.

Support

The Debian Project offers security support for stable releases until one year after the next stable release. Debian 9 was released in June 2017, which meant that security support for Debian 8 ended in June 2018. And Debian 8 was released in April 2015, so effectively it’s about three years.

On top of the security support, for newer releases, long-term support (LTS) is offered for five years after the initial release date.

Stability

One benefit of these longer release schedules is that it gives extra time for testing before release. As such, Debian is considered to be a more stable Linux distro than many others. This makes it a good choice for enterprises, as there is less overhead caused by bugs in the release. It also gives time to patch security vulnerabilities, so the releases tend to be more secure than those from other Linux distributions.

Software packages

Debian 10 comes with around 59,000 software packages, so there is plenty to get going with. However, you can configure it to add some extra software packages if you need to. Unlike some other Linux distros, Debian doesn’t offer a paid marketplace for packages – almost all of the available software packages are free. However, independent vendors are able to create paid packages.

Community

Although it’s been around longer, the Debian community is smaller than Ubuntu’s, but is made up of more technical users due to Debian’s relative complexity. Debian has a number of active user forums, a resource centre, and a large number of volunteers that help support its commitment to free software.

Usability

The Debian Linux distro is generally considered to be more suitable for Linux experts than beginners. It assumes a level of knowledge of Linux development from the get-go, with the installer giving the user a higher degree of control and customisation over its configuration.

This is beneficial for experienced users as it gives them a more custom experience, however it can leave newer users feeling overwhelmed – which is why the Linux Debian user base is more technical.

What is Ubuntu?

The first version of Ubuntu, Ubuntu 4.04, was released in October 2004 as a fork of Debian. With a 39.6% market share in April 2020, it has overtaken Debian as the world’s most popular Linux distribution. The latest version is 18.04, and version 20.04 is just around the corner. There are three official editions of Ubuntu:

  • Desktop, which can be installed on a normal desktop computer to act as a typical operating system. It contains a graphical user interface (GUI), and comes packaged with common programs such as word processing and video playing software.
  • Server, which is a stripped-down version of Ubuntu for use on small or enterprise-scale servers. This version uses only a command-line interface, and comes with applications for email and web servers.
  • Core, which is a security-focused version of Ubuntu made specifically for IoT (Internet of Things) devices.

For this blog, we’ll be focussing on Ubuntu desktop.

Release schedules

New versions of Ubuntu are released every six months – almost always in April and October. The version numbers represent the year (20) and the month (April/04) of release.This release period being a quarter of Debian’s means that Ubuntu versions get new and updated software much before Debian does, but it misses out on the long test period that Debian benefits from.

Support

Starting with Ubuntu 6.06, every fourth version of Ubuntu is a designated long-term support (LTS) release. LTS releases are fully supported for five years, whereas non-LTS releases are only supported for around nine months. The latest LTS release, Ubuntu 16.04 will be supported until 2021.

Stability

Because of the shorter release cycles, when compared to Debian and CentOS, Ubuntu releases are less stable. The sacrifice on stability for quicker releases makes Ubuntu less suited to enterprises who value low-risk releases, but more suited to individual users who want more up-to-date packages.

Software packages

Because Ubuntu is based on Debian, most software packages are usable on both distros, but sometimes a little bit of work is required to make them fully compatible. Unlike Debian however, Ubuntu offers free and proprietary software. According to this list, there are over 75,000 software packages available on the latest release of Ubuntu.

Community

As Ubuntu is the most popular Linux distribution, it’s also the one with the most community support. The Ubuntu community is very active, and provides help, support and tutorials on forums, in community hubs, and within smaller teams. This helps to make Ubuntu suitable for beginners, as it’s much easier to solve problems with a wide and willing community offering support.

Usability

The default Ubuntu installation is easier, and better for beginners compared to other Linux distros. The graphical installation interface is more intuitive than a command-line interface, and can be installed using pre-existing settings for straightforward setup. However, Ubuntu does offer an ‘Expert Mode’ installation, which is similar to Debian’s, and allows for more customisation and configuration if required.

What is CentOS?

Like Ubuntu forked from Debian, CentOS is based on the open source code of RHEL (Red Hat Enterprise Linux), and provides an enterprise-grade operating system for free. The first version of CentOS, CentOS 2 (named as such because it’s based on RHEL 2.0) was released in 2004. The latest release version is CentOS 8.

Release schedules

CentOS releases are far less frequent than Ubuntu and more sporadic than Debian. The last four major releases were 2014, 2011, 2007 and 2005, so there isn’t a pattern to them. There are, however, more frequent minor version releases.

Support

All major versions since CentOS 5 receive maintenance updates for 10 years and full updates for (about) six years. These updates follow the Red Hat Enterprise Linux support life cycle.

Stability

Only truly stable versions of CentOS are released, which is partly why they sometimes take so long – some versions require more testing than others to get to a stable state. The years between releases ensure plenty of time for thorough testing, and any security fixes are backported into older versions of CentOS for any vulnerabilities discovered when building the new version. This makes CentOS another good choice for enterprises.

Community

With a 16.8% market share, the CentOS user base is smaller than Ubuntu’s. And as it’s aimed at enterprises, there’s less scope for entry-level users to pick it up. There are existing and active community forums, but these are not officially run and exist separately. It’s therefore more difficult to find online tutorials and support.

Usability

The lack of community support and more difficult installation makes CentOS tricky to pick up for Linux beginners. Instead, because it’s based on the enterprise-grade RHEL, CentOS is usually preferred by businesses and web agencies who are already familiar with Linux distros.

Debian vs Ubuntu vs CentOS

Although there are differences between the Linux distros, it mainly comes down to preference. There is not an overall ‘best Linux distro’, it’s all just opinion and circumstances. Ubuntu is probably better for Linux beginners because it’s easier to set up and use, Debian is probably better for experienced users who want full control, and CentOS is probably better for businesses who want a more stable and secure Linux distro.