SvennD
Centos 8 : setup auto updates
February 2, 2021

Centos 8 : setup auto updates

Posted on February 2, 2021  •  1 minutes  • 54 words  •  Suggest Changes

A quick howto install automatic updates on Centos 8 using the new dnf command;

Install :

dnf install dnf-automatic -y

Config :

nano /etc/dnf/automatic.conf

from

apply_updates = no

to

apply_updates = yes

Add to systemd :

systemctl enable --now dnf-automatic.timer

Check / verify :

$ cat /etc/systemd/system/timers.target.wants/dnf-automatic.timer
$ systemctl list-timers dnf-* | grep automatic
Support

If you enjoyed this website, consider buying me a Dr. Pepper

Buy me a Dr PepperBuy me a Dr Pepper