
This guide explains how to set up automatic updates for CentOS 9, 10, and 11. Enabling automatic updates helps keep your system secure and up to date without manual intervention.
CentOS 9, 10, 11: Enabling Automatic Updates
The latest CentOS versions use DNF (Dandified YUM) as the default package manager. To automate updates, install the dnf-automatic package.
To install it, run:
dnf install dnf-automatic
To verify the installation, check package details:
rpm -qi dnf-automatic
This will display package information, including the installed version and description.
Configuring DNF Automatic Updates
After installation, navigate to the DNF configuration directory:
cd /etc/dnf/
Edit the automatic.conf file to adjust update settings:
vim automatic.conf
In the [commands] section, set the update type:
upgrade_type = default
download_updates = yes
- default updates all available packages.
- security updates only security-related packages.
In the [emitters] section, enable system notifications by changing the emit_via option to motd, so update notifications appear at login:
system_name = my-centos-server
emit_via = motd
Other options:
- stdio (default) logs output to standard input/output.
- email sends update notifications via email.
To configure email notifications, modify the [email] section:
email_from = root@server.com
email_to = root
email_host = localhost
Save the file and close the editor.
Enabling and Running Automatic Updates
To activate and start the automatic update timer, run:
systemctl enable –now dnf-automatic.timer
To check if the timer is running:
sudo systemctl list-timers dnf-
The output will display scheduled automatic updates.
Conclusion
By enabling DNF automatic updates, your CentOS 9, 10, or 11 system will stay updated without manual intervention. This ensures faster security patches, bug fixes, and system stability.
Would you like to configure updates for a specific schedule? Let me know!
Information reviewed and updated: August 28, 2026.
Published by: REVOLD BLOG – blog.revold.us
Powered by AIR RISE INC & REVOLD AI
Sponsored: CORPIUS
Author: Roman Kravchina
Related Reading on Revold Blog
- How to Install Jellyfin Media Server on Ubuntu 24.04
- This guide will show you how to install a desktop (GUI) graphical interface on your Ubuntu server.
- 20 Essential Python Concepts to Help You Become a More Effective Developer
- Install Home Assistant Operating System
- More Developing & Programming guides
- How to Set Up Automatic Updates for CentOS 10
- How to Manually Enable Automatic Updates on Debian and Ubuntu 22.04 / 24.04
- How to Install Jitsi Meet on Ubuntu/Debian with Automatic Let’s Encrypt SSL
- How to Configure SPF, DKIM, and DMARC on an iRedMail Server (CentOS 10 or 11)
- How to install and configure Grafana on CentOS 9 or 10 or 11′
- How to install Haproxy and Traefik on Proxmox VM with CentOS 9, 10, 11
- Proxmox Maintenance Script: Automate Updates and Reboots
- How to Install and Configure iRedMail on CentOS 9, 10, or 11
- How to Install NGINX FastCGI Cache Purge Module Without Reinstalling NGINX on Ubuntu (Latest Versions)
- How Do I Access or Mount Windows/USB NTFS Partition in RHEL/CentOS/Fedora
- A Beginner’s Guide to SELinux on CentOS 10/11
- How to install Cockpit for Linux
- ? NetAlertX: The Ultimate Network Scanning and Alert System


