Mantendo o sistema seguro ao mantê-lo atualizado
Essa seção explica:
Porque é importante manter seu sistema atualizado
Esta seção explica resumidamente a importância de atualizar seu sistema regularmente.
Todo software contém bugs. Freqüentemente, esses bugs podem resultar em uma vulnerabilidade que pode expor seu sistema a usuários mal-intencionados. Pacotes que não foram atualizados são uma causa comum de invasões de computador. Implemente um plano para instalar patches de segurança em tempo hábil para eliminar rapidamente as vulnerabilidades descobertas, para que não possam ser exploradas.
Atualizando manualmente usando interface gráfica (GUI)
Essa seção descreve como manualmente baixar e instalar novas atualizações usando a interface gráfica.
Procedimento
-
Hover the cursor over the upper-left corner of the screen and type "Software" and select the Software application to open it.
-
Click the Updates button to view the available updates.
-
Click the Download button to download new updates.
-
After the updates are downloaded click the Restart & Update button. Your system will restart to perform the upgrade.

Atualização manual usando CLI
This section describes how to manually download and install new updates by using the DNF package manager.
Procedimento
-
Upgrade the system:
sudo dnf upgrade
Confirm to download the available packages.
Recursos Adicionais
-
The
dnf(8)
manual page
Configurando atualizações automáticas
This section describes how to use the DNF Automatic application to automatically:
-
Download and install any new updates
-
Only download the updates
-
Get notified about the updates
Procedimento
-
Install the dnf-automatic package:
sudo dnf install dnf-automatic
-
Edit the
/etc/dnf/automatic.conf
configuration file as needed. See the DNF Automatic documentation for details. -
Enable and start the
systemd
timer:sudo systemctl enable --now timer
Replace
timer
with one of following ones depending on what action you want to do:-
dnf-automatic-install.timer
to download and install packages -
dnf-automatic-download.timer
to only download packages -
dnf-automatic-notifyonly.timer
to only get a notification using configured emitters in the/etc/dnf/automatic.conf
file.
Por exemplo:
sudo systemctl enable --now dnf-automatic-install.timer Created symlink /etc/systemd/system/timers.target.wants/dnf-automatic-install.timer → /usr/lib/systemd/system/dnf-automatic-install.timer.
-
-
Ensure that the timer has been successfully enabled and started:
sudo systemctl status timer
Replace
timer
with the timer from the previous step, for example:sudo systemctl status dnf-automatic-install.timer ● dnf-automatic-install.timer - dnf-automatic-install timer Loaded: loaded (/usr/lib/systemd/system/dnf-automatic-install.timer; enabled; vendor preset: disabled) Active: active (waiting) since Fri 2021-01-29 14:50:22 +08; 1s ago Trigger: Sat 2021-01-30 06:05:57 +08; 15h left Triggers: ● dnf-automatic-install.service Jan 29 14:50:22 localhost.localdomain systemd[1]: Started dnf-automatic-install timer.
Recursos Adicionais
-
The DNF Automatic documentation
Recursos Adicionais
-
O capítulo DNF no Guia de Administrador de Sistemas Fedora
Want to help? Learn how to contribute to Fedora Docs ›