Automatic updates

I am using Fedora 33 Cinnamon Desktop of Fedora Spins.
I welcome all updates in any time.
Now I have to update via dnfdragora every time.
Following this instruction is very difficult for me.
Can you please help simplify process of automatic updates for me, an ordinary user ?

dnf install dnf-automatic
env EDITOR='gedit -w' sudoedit /etc/dnf/automatic.conf
systemctl enable --now dnf-automatic.timer
systemctl list-timers *dnf-*

Are these 4 command lines enough?
The second command line is very difficult, help me please.

Enabling automatic Fedora updates is as easy as running two commands as root or using sudo:

dnf install dnf-automatic
systemctl enable --now dnf-automatic-install.timer

First one installs tool that automates updates, the other enables automatic installation of stable updates with random delay of up to 1h since set hour or system startup.

You’ll have to reboot (or shutdown and power on again later) for some updates to be used (e.g. newer kernel or some components that require a reboot). If you don’t keep your computer on for days, constantly put it to sleep or hibernate, don’t worry about that.

If you’re also using Flatpaks without Gnome Software, for automatic Flatpak updates use systemd:

Remove dnfdragora-updater, unless you want it to inform you about available updates.

More about commands that you posted.

Second one opens text editor (on Cinnamon the default is xed, so use it instead of gedit) where you can modify dnf-automatic settings - their documentation is linked in the article.
Third one enables automatic updates using settings from previous step.
Last one just lists dnf timers and their statuses - so you know that they were enabled and when next update will be executed.

1 Like