CentOS and RHEL 8 or later versions

For CentOS and RHEL 8 or later versions, the dnf-automatic package is the preferred approach:

dnf install dnf-automatic

In /etc/dnf/automatic.conf set:

download_updates = yes
apply_updates = yes

Habilite e inicie atualizações automáticas via:

systemctl enable --now dnf-automatic.timer

Verifique o status de dnf-automatic:

systemctl list-timers *dnf-*

CentOS and RHEL 7 or earlier versions

For CentOS and RHEL 7 or earlier versions, the yum-cron package is the preferred approach:

yum install yum-cron

In /etc/yum/yum-cron.conf set:

download_updates = yes
apply_updates = yes

Habilite e inicie atualizações automáticas via:

systemctl start yum-cron.service

openSUSE

Primeiro, você precisa instalar o pacote de atualizações automáticas.

zypper install yast2-online-update-configuration

Then start the configuration tool (ncurses based) with:

yast2 online_update_configuration

Habilite as seguintes configurações:

    Atualizações Automáticas Online
    Intervalo: Diariamente
    Skip Interactive Patches
    Concordo com as Licenças 
    Use delta rpms

Confirme sua configuração com 'OK'.

A documentação oficial do openSUSE pode ser encontrada aqui.