Technology

Ubuntu 20.04 LTS: What It Brought and What End of Support Means

Ubuntu 20.04

Ubuntu 20.04 LTS, nicknamed Focal Fossa, was released in April 2020 as the new Long Term Support version of Ubuntu. At the time, it was a big step forward in stability and security compared with its predecessor, 18.04. In this article, we explain what Ubuntu 20.04 brought, how Ubuntu’s support cycle works, and what it means now that standard support for 20.04 has ended. If you still run servers on 20.04, read on.

About Ubuntu

In case you didn’t know: Ubuntu is a Linux-based operating system that is very widely used in the hosting world and in the cloud. Many hosting providers and companies choose Ubuntu partly because of its long-term support, which helps them keep their servers stable and secure for years.

Besides the server edition, Ubuntu is also available as a desktop operating system for personal use. In this article, we focus on the version for (web) servers.

Long Term Support explained

The term LTS stands for Long Term Support. Canonical, the company behind Ubuntu, releases a new LTS version every two years, in April of even-numbered years. Each LTS version gets five years of standard security maintenance for free.

An LTS version ensures that the software stays available throughout its life without major changes. No major upgrades to newer software versions are forced in the meantime. This keeps a server stable, while updates provide bug fixes and security patches.

After those five years, organizations can extend security updates with Expanded Security Maintenance (ESM), which is part of Canonical’s Ubuntu Pro subscription. This brings total security coverage for an LTS release to ten years, and Canonical has since introduced an optional Legacy add-on that extends it further. Ubuntu Pro is free for personal use on a small number of machines.

The numbering of Ubuntu versions is easy to understand: the first digits are the year of release, the second the month. So 20.04 was released in April 2020. Its standard support ended in 2025, and with ESM, security updates continue until 2030.

Focal Fossa

As always, Canonical came up with a nice name for this version: Focal Fossa. Like many people, we had to look up what it meant: the fossa is a cat-like predator that lives on Madagascar.

At its release, Ubuntu 20.04 was more stable and secure than its predecessors, and it came with what were then up-to-date packages such as PHP 7.4, MySQL 8.0 and Python 3.8.

The following features were noteworthy in this LTS release:
● Linux kernel 5.4
– Support for WireGuard VPN and the Raspberry Pi
– Support for the exFAT file system
● WireGuard VPN
● SSH two-factor authentication
– Support for U2F/FIDO security keys
● HAProxy 2.0
– Native support for the Prometheus exporter
– End-to-end HTTP/2
● Apache 2.4.41
– Support for TLS 1.3

Because PHP, MySQL and Python are so widely used on web servers, we’ll look at these in more detail.

PHP 7.4

PHP 7.4 was included by default in Ubuntu 20.04. Ubuntu 18.04 shipped with PHP 7.2, which was already a big improvement in speed. PHP 7.4 went one step further. Preloading functions and classes into OPcache could deliver a noticeable speed gain for many applications.

It also brought several new features:
● Typed properties
● Arrow functions
● Weak references
● Unpacking inside arrays

Note that PHP 7.4 itself reached its end of life in November 2022. Applications such as WordPress run faster and more securely on PHP 8.x, so if your server still uses 7.4, upgrading PHP should be high on your list.

Nginx 1.18

Nginx is a popular reverse proxy and web server. Ubuntu 20.04 shipped with Nginx 1.18, while Ubuntu 18.04 came with 1.14.

The most important changes between 1.14 and 1.18 at a glance:
● Improvements to UDP proxying, including sessions.
● Dynamic loading of certificates for SNI configurations. By using variables such as $ssl_server_name in your certificate paths, you can create dynamic SSL configurations.
● Better request rate and connection limiting.

Support for HTTP/3 and QUIC, which was in development at the time, arrived in later Nginx versions. To use it, you need a newer Ubuntu release or an Nginx package from another source.

Also Read: How to Increase Internet Speed?

MySQL 8

Where Ubuntu 18.04 shipped with MySQL 5.7, Ubuntu 20.04 came with MySQL 8.0: a major version upgrade with many new features.

Too much changed to list everything, but here are a few interesting changes:
● The default character set changed from latin1 to utf8mb4, which supports all Unicode characters, including emojis 😄.
● Global variables can be made persistent with SET PERSIST, so that they are also written to disk and survive a restart.
● Many improvements to security, roles and accounts, including new syntax for creating accounts and setting passwords, and a stronger default authentication plugin.
● Roles can be assigned to accounts. For example, you can give all developers the same rights without having to set permissions for each account individually.

MySQL 8.0 itself reached the end of its support life in 2026, so newer database versions are worth planning for as well.

Python 3.8

Ubuntu 20.04 no longer installed Python 2.7 by default. If you hadn’t switched to Python 3 yet, that was the moment. Ubuntu 20.04 came with Python 3.8.

The most noticeable changes between Python 2 and 3 are in the syntax. For example, in Python 2.7 you didn’t need parentheses around print statements; in Python 3 print is a function, so you do.

A few important differences:
● Strings are Unicode by default; in Python 2 you had to indicate this explicitly with a “u” prefix.
● The division operator works differently: in Python 3, dividing two integers returns a float.
● xrange became range in Python 3.
● To ease migration, Python 2 code could use the __future__ module to adopt Python 3 behaviour.

Python 3.8 has also since reached its end of life, so applications should move to a newer Python 3 version.

What end of standard support means for you

Standard support for Ubuntu 20.04 ended in 2025. That means servers still running 20.04 without Ubuntu Pro no longer receive regular security updates for most packages. Over time, this makes them increasingly vulnerable to known security flaws. It can also cause compliance problems if your organization has to meet security standards.

You have three main options:

  1. Upgrade to a newer LTS release. This is the best long-term solution. Newer LTS versions include Ubuntu 22.04, 24.04 and 26.04, the most recent LTS, released in April 2026.
  2. Enable Ubuntu Pro (ESM). This extends security updates for 20.04 while you plan your migration. It’s a useful bridge, but not a reason to postpone upgrading indefinitely.
  3. Migrate to a new server. Set up a fresh server with a current LTS version and move your websites and data to it. This is often the cleanest approach for heavily customized or older systems.

How to upgrade from Ubuntu 20.04

Ubuntu’s upgrade tool moves you from one LTS to the next, so from 20.04 you first go to 22.04, and from there to 24.04 and beyond. A careful approach:

  • Make a full backup or snapshot of the server, and check that you can restore it.
  • Test first on a copy of the server or a staging environment.
  • Check your applications: newer Ubuntu releases ship with newer PHP, MySQL and Python versions. Make sure your websites and software are compatible.
  • Update the current system with sudo apt update and sudo apt upgrade, then reboot.
  • Run the upgrade with sudo do-release-upgrade and follow the instructions, preferably in a session that won’t be interrupted, such as screen or tmux.
  • Test everything afterwards: websites, databases, email, scheduled tasks and firewall rules.

For production servers, plan the upgrade during a quiet period and inform users in advance. If you use managed hosting, ask your hosting provider about their upgrade schedule and options.

How to check which Ubuntu version you’re running

Not sure which version is on your server? Log in via SSH and run one of these commands:

  • lsb_release -a shows the distributor, release number and codename.
  • cat /etc/os-release shows the version details in a configuration file.
  • hostnamectl shows the operating system together with other system information.

To see whether your system is covered by Ubuntu Pro and Expanded Security Maintenance, you can run pro status. It lists which services are enabled and whether security updates are still available for your installed packages.

Security practices for any Ubuntu server

Whichever version you run, a few basic measures keep a server much safer:

  • Install updates regularly, and consider enabling unattended upgrades for security patches.
  • Use SSH keys instead of passwords, disable root login over SSH and, where possible, add two-factor authentication.
  • Enable a firewall, for example with UFW, and only open the ports you actually need.
  • Install Fail2ban or a similar tool to block repeated failed login attempts.
  • Remove software you don’t use, as every installed package is a potential vulnerability.
  • Monitor logs and resources, so you notice unusual activity early.
  • Make automatic backups and store copies outside the server.

Ubuntu LTS releases at a glance

  • 18.04 LTS (Bionic Beaver): released in 2018; standard support ended in 2023.
  • 20.04 LTS (Focal Fossa): released in 2020; standard support ended in 2025, ESM until 2030.
  • 22.04 LTS (Jammy Jellyfish): released in 2022; standard support until 2027.
  • 24.04 LTS (Noble Numbat): released in 2024; standard support until 2029.
  • 26.04 LTS: released in April 2026; the latest LTS release.

Lessons from Focal Fossa

Ubuntu 20.04 shows how important lifecycle planning is for servers. An LTS release gives you years of stability, but it doesn’t last forever. Keep track of the support end dates of your operating system and of key software such as PHP and your database, and plan upgrades well in advance, rather than waiting until support has ended.

Conclusion

Ubuntu 20.04 brought the latest packages of its time, such as PHP 7.4 and MySQL 8.0, along with many improvements in security and stability, which made Focal Fossa a valuable upgrade. Many administrators waited for the first point release, 20.04.1, which fixed early issues, before upgrading production servers. Today, 20.04 has reached the end of standard support, so the advice has changed: upgrade to a current LTS version, or use Ubuntu Pro as a temporary bridge while you plan your migration.

Frequently asked questions about Ubuntu 20.04

When did Ubuntu 20.04 support end?

Standard support for Ubuntu 20.04 LTS ended in 2025. Security updates remain available through Ubuntu Pro’s Expanded Security Maintenance until 2030.

What does LTS mean in Ubuntu?

LTS stands for Long Term Support. LTS releases come out every two years and receive five years of standard support, which can be extended with Ubuntu Pro.

Can I upgrade directly from Ubuntu 20.04 to 24.04?

Not in one step with the standard upgrade tool. You first upgrade to 22.04 and then to 24.04. Alternatively, you can install a new server with a current version and migrate your data.

Is Ubuntu Pro free?

Ubuntu Pro is free for personal use on a limited number of machines. Businesses need a paid subscription.

What is the codename of Ubuntu 20.04?

Ubuntu 20.04 is called Focal Fossa, after a cat-like animal that lives on Madagascar.

Is it safe to keep using Ubuntu 20.04?

Only with Ubuntu Pro, which still provides security updates. Without it, the server no longer gets regular security patches, so you should upgrade as soon as possible.

Which PHP, MySQL and Python versions came with Ubuntu 20.04?

Ubuntu 20.04 shipped with PHP 7.4, MySQL 8.0 and Python 3.8. All three have since reached their own end of life, which is another reason to upgrade to a newer release.

Show More

John Smith Geek

John Smith Geek is the Demand Generation Manager at Outreach Way who handles content and crowd marketing. His background covers sales, project management, and design. In his free time, you can find him traveling, hiking, or tasting local foods.
Back to top button