X
X

Select Your Currency

Türk Lirası $ US Dollar
X
X

Select Your Currency

Türk Lirası $ US Dollar
Kurban Bayramı’na Özel %40 İndirim Detaylı Bilgi İçin Tıklayın!

Knowledge Base

HomepageKnowledge BaseCentosCentOS Stream 10 Update Commands

CentOS Stream 10 Update Commands

CentOS Stream 10 is the latest release in the CentOS Stream series, offering a rolling-release model that delivers new packages and improvements quickly. To keep your system secure, stable, and performant, regular updates are essential.

Below are the basic commands you can use to keep your CentOS Stream 10 system up to date, along with explanations.

1. Update All Packages

To update all available packages on your system, run:

dnf update -y

This command detects, downloads, and installs any available package updates. The "-y" option automatically answers “yes” to all confirmation prompts.

Alternatively, you can use:

dnf upgrade -y

Both commands effectively upgrade your system to the latest package versions.

2. Update a Specific Package

To update only a specific package, use:

dnf update package_name

For example, to update the nginx package:

dnf update nginx

3. Kernel Update and Reboot

Kernel updates come bundled with system updates. After a kernel update, the system needs to be rebooted. You can reboot the system by running:

reboot

4. Clear DNF Cache (Optional)

To clean unnecessary cache files after updates, run:

dnf clean all

5. List Available Updates

To see which packages can be updated without installing them, use:

dnf check-update

This command only lists available updates.


By regularly running these commands, you can keep your CentOS Stream 10 system secure, updated, and performing well. Automating update tasks is especially useful in server environments.

Can't find the information you're looking for?

You have examined the knowledge base in detail, but if you cannot find the information you need,

Create a Support Ticket
Did you find it useful?
(0 times viewed. / 0 people found helpful.)