Automatic Updates on Linux

Automatic updates on Linux: Learn the benefits, risks, and how to configure your system. Keep your Linux up-to-date and secure. Read our article.

Brief

Unattendeed Upgrades - Automatic installation of security upgrades on apt based systems.

install

1
2
3
sudo apt update

sudo apt install unattended-upgrades -y

Enable Automatic Updates

enable automatic updates by:

1
sudo dpkg-reconfigure -plow unattended-upgrades 
  • “-plow” is to set prorioty as low for unattended upgrades.

select “yes” from these options:

Screenshot of the command

Other config/sources

For more about configuration, go through this blog by Hayden James.

that’s it ✌🏽