How To Update CentOS 8

As you know it is important to keep your Linux OS updated. In this Tutorial I will show you how to update CentOS 8. Updating your CentOS 8 server regularly will patch up the latest security vulnerabilities. I’m sure your not interested in being a statistic as many others have.

Updating CentOS 8 is a little different from previous versions. Cent OS 8 m oved to the dnf package manager. While as previous versions to update CentOS was the YUM package manager.

In this tutorial you will learn:

  • How to update CentOS 8 packages via command line

On CentOS 8 and newer versions, open a terminal and type the following command to check for available updates:

# dnf check-update

To install all of the updates shown, simply execute:

# dnf update

You can use the following If there are specific packages that you want to update you can specify it by name:

# dnf update httpd

In this Tutorial you saw how easy it is to update CentOS 8. Please remember to keep your system up to date because it provides the latest security patches and bug fixes.

Leave a Comment

Stay Informed

Receive instant notifications when new content is released.