TurboNode Documentation
Control Panel Website Status Page
Linux Servers IconLinux Servers

Updating and Upgrading Your Linux Server

By Keagan P. 6 mins 8

On this page, we’ll show you how to update and upgrade your Linux server to the latest versions and builds. It’s highly recommended to use Long Term Support (LTS) releases if upgrading the whole server to a new release.

Below you’ll find TurboNode’s Linux server offerings and the steps to update and upgrade them.

Difference Between Update and Release Upgrade

Linux distributions often have an update path and an upgrade path.

Updating the system will generally maintain the release (e.g. Ubuntu 24.xx) and update the packages and software within the system. This is like how updating Windows 11 would update Windows 11 and not move you to Windows 12.

Release upgrades, on the other hand, update the whole build, for example moving from Ubuntu 22 to Ubuntu 24, just like how you’d upgrade from Windows 10 to 11.

Before performing a release upgrade, take note of the below.

  • Ensure that software you’re running on the server will work with the new release, and;

  • Make sure to backup the server just in case as the system could experience an error and corrupt if something major goes wrong.

Ubuntu

If you’ve ever logged into your Ubuntu server and seen a message like “136 updates can be applied immediately,” this means we can perform an update to the system. This will do security patches, software updates, and more within the system.

To perform an update, run the below commands

sudo apt update
sudo apt upgrade

Afterwards, you can reboot the server with the reboot command or through the TurboNode Panel.

Release upgrades are just as easy to perform. Your system will likely inform you when you log in if a release upgrade is an option. To perform a release upgrade, it’s just the one command

sudo do-release-upgrade

Ubuntu upgrades one release at a time, so a server on 18.04 will need to go to 20.04, then 22.04, and so on. You may get warning messages and service messages during the upgrade that require input.

End of Life: Ubuntu 18.04 LTS
Standard support for Ubuntu 18.04 ended in May 2023. It no longer receives regular security updates, and extended security patches are only available through Ubuntu Pro. We recommend upgrading to Ubuntu 24.04 LTS, or deploying a new server and migrating your data.

End of Life: Ubuntu 20.04 LTS
Standard support for Ubuntu 20.04 ended in May 2025. It no longer receives regular security updates, and extended security patches are only available through Ubuntu Pro. We recommend upgrading to Ubuntu 24.04 LTS.

AlmaLinux

AlmaLinux uses dnf for updates. An update will install security patches and software updates within your current release (e.g. AlmaLinux 9.x), without moving you to a new major version.

To perform an update, run the below command

sudo dnf update

Afterwards, you can reboot the server with the reboot command or through the TurboNode Panel.

Release upgrades on AlmaLinux are done with the ELevate tool, which is built on Leapp. The process generally looks like this

sudo dnf update
sudo reboot
sudo dnf install -y http://repo.almalinux.org/elevate/elevate-release-latest-el$(rpm --eval %rhel).noarch.rpm
sudo dnf install -y leapp-upgrade leapp-data-almalinux
sudo leapp preupgrade
sudo leapp upgrade
sudo reboot

The preupgrade step produces a report of anything that could block the upgrade. Review it and resolve any issues before running leapp upgrade. For the full steps for your version, see the official guide at almalinux.org/elevate.

For most servers, deploying a fresh AlmaLinux install and migrating your data is the safer option.

CentOS 7

CentOS 7 reached end of life on June 30, 2024 and no longer receives security updates. Its repositories were moved to the CentOS Vault, so yum update will fail unless you point the repo files at the vault first.

To do this, run the below commands

sudo sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*.repo
sudo sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*.repo

Then you can update the system

sudo yum update

Afterwards, you can reboot the server with the reboot command or through the TurboNode Panel.

This only installs the final packages released for CentOS 7 and will not give you any new security fixes. We strongly recommend moving to a supported distribution such as AlmaLinux 9 or Debian 12. There is no direct upgrade path to a newer CentOS release. The cleanest option is to deploy a new server and migrate your data.

End of Life: CentOS 7
CentOS 7 reached end of life on June 30, 2024 and no longer receives security updates. We strongly recommend deploying a new AlmaLinux 9 or Debian 12 server and migrating your data.

CentOS Stream 10

CentOS Stream receives continuous updates rather than fixed point releases. Updates are done with dnf.

To perform an update, run the below command

sudo dnf update

Afterwards, you can reboot the server with the reboot command or through the TurboNode Panel.

There is no release upgrade to perform on CentOS Stream 10. Running the update command keeps you on the latest Stream 10 build.

Debian

Debian uses apt for updates. An update will install security patches and software updates within your current release (e.g. Debian 12), without moving you to a new major version.

To perform an update, run the below commands

sudo apt update
sudo apt full-upgrade

Afterwards, you can reboot the server with the reboot command or through the TurboNode Panel.

Release upgrades on Debian are done by hand and must be performed one release at a time (Debian 11 to 12, then 12 to 13).

Start by fully updating your current release and rebooting

sudo apt update
sudo apt full-upgrade
sudo reboot

Next, switch your package sources to the new release. Replace the codename in your sources, then repeat for any files in /etc/apt/sources.list.d/.

Debian 11 to Debian 12

sudo sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list

Debian 12 to Debian 13

sudo sed -i 's/bookworm/trixie/g' /etc/apt/sources.list

Finally, run the upgrade in two stages and reboot

sudo apt update
sudo apt upgrade --without-new-pkgs
sudo apt full-upgrade
sudo reboot

You may get warning messages and service messages during the upgrade that require input. We recommend running the upgrade inside screen or tmux so it isn’t interrupted if your connection drops.

End of Life: Debian 11
Long Term Support for Debian 11 ended on August 31, 2026, so it no longer receives security updates. We recommend upgrading to Debian 12 by following the steps above.