Das System durch regelmäßige Aktualisierung absichern
-
Warum es wichtig ist, Ihr System regelmäßig zu aktualisieren
-
Wie Sie Aktualisierungen manuell anwenden, indem Sie die GUI oder die Befehlszeile verwenden
Warum es wichtig ist, Ihr System regelmäßig zu aktualisieren
In diesem Abschnitt wird kurz erläutert, warum es wichtig ist, Ihr System regelmäßig zu aktualisieren.
All software contains bugs. Often, these bugs can result in a vulnerability that can expose your system to malicious users. Packages that have not been updated are a common cause of computer intrusions. Install security patches promptly to end discovered vulnerabilities quickly, so attackers cannot exploit them.
Manuelle Aktualisierung mithilfe der grafischen Oberfläche
The following steps describe how to manually download and install new updates by using GUI.
Vorgehensweise
-
Hover the cursor over the upper-left corner of the screen and type "Software" and select the Software application to open it.
-
Klicken Sie auf den Knopf Aktualisierungen, um die verfügbaren Aktualisierungen anzuzeigen.
-
Klicken Sie auf den Knopf Herunterladen, um neue Aktualisierungen herunterzuladen.
-
After the updates are downloaded click the Restart & Update button. Your system will restart to perform the upgrade.
Manuelle Aktualisierungen über die Befehlszeile
The following steps describe how to manually download and install new updates by using the DNF package manager.
Fedora recommends applying updates offline: packages are downloaded while the system is running normally, then applied during a reboot. This avoids conflicts caused by updating libraries or services that are actively in use.
Vorgehensweise
-
Download available updates:
$ sudo dnf offline-upgrade downloadBestätigen Sie das Herunterladen der verfügbaren Pakete.
-
Reboot to apply the updates:
$ sudo dnf offline-upgrade rebootThe system reboots, applies the downloaded updates, then starts normally.
-
Optionally, use the
rpmconfcommand to merge any configuration file changes introduced by the package updates:$ sudo rpmconf -aTo use the advanced merge option, set the
MERGEenvironment variable to an editor capable of performing that function (e.g.,export MERGE="vimdiff"). See the man page for details.If you install the rpmconf DNF plugin,
rpmconfruns automatically at the end of each upgrade:$ sudo dnf install python3-dnf-plugin-rpmconf
Weitere Ressourcen
-
Die Handbuchseite
dnf(8) -
The
dnf-offline-upgrade(8)manual page -
Die Handbuchseite
rpmconf(8)
Einrichten automatischer Aktualisierungen
The dnf-automatic package provides a systemd timer that can automatically download, install, or alert you about available updates. Whether the timer downloads only, installs, or just notifies the options in the /etc/dnf/automatic.conf configuration file.
For full setup instructions, see Automatic Updates.
Want to help? Learn how to contribute to Fedora Docs ›