How to update CentOS using the yum package manager

Опубликовано: 29 Март 2026
на канале: ABDULLAH AL MAMUN
154
1

In this tutorial, we’ll walk you through the process of updating CentOS to ensure your system is running the latest patches, software, and security updates. Whether you’re using CentOS 7, CentOS 8, or CentOS Stream, this guide will cover all the necessary steps for updating your system from the command line.

##############################################
Update the package database. Use yum check-update to update the package database from the enabled repositories.

$ sudo yum check-update
Use yum update to upgrade the packages.

$ sudo yum update
Restart the server

$ sudo reboot