第6章 Automating software updates in RHEL
DNF Automatic is an alternative command-line interface to DNF that is suited for automatic and regular execution by using systemd timers, cron jobs, and other such tools.
DNF Automatic synchronizes package metadata as needed, checks for updates available, and then performs one of the following actions depending on how you configure the tool:
- Exit
- Download updated packages
- Download and apply the updates
The outcome of the operation is then reported by a selected mechanism, such as the standard output or email.
6.1. Installing DNF Automatic リンクのコピーリンクがクリップボードにコピーされました!
To check and download package updates automatically and regularly, you can use the DNF Automatic tool that is provided by the dnf-automatic package.
Procedure
Install the
dnf-automaticpackage:# dnf install dnf-automatic
Verification
Verify the successful installation by confirming the presence of the
dnf-automaticpackage:# rpm -qi dnf-automatic