How to update CentOS - LinuxConfig.org

Like all Linux distros, it's important to keep your CentOS system up to date in order to make sure that you have the latest security updates and newest features. Updating the system usually involves simply upgrading all installed packages to their latest versions. Every few years, there's a new version of CentOS released, which requires a more involved update process to install.

In this article, we'll cover updating a CentOS system on a per package basis and upgrading the entire operating system. This can be done via command line and GUI. Both methods will be shown in this guide, so you can pick whichever is easier for you.

The process for upgrading a CentOS system is a little different depending on which version you have installed. The latest version of Centos has moved to the dnf package manager. Previous to Centos 8, yum was the package manager used. Regardless of which version you're running, we'll show you the proper commands so you can update your system.


This is a companion discussion topic for the original entry at https://linuxconfig.org/how-to-update-centos