Mansoor Barri

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

sudo apt update

sudo apt install unattended-upgrades -y

Enable Automatic Updates

enable automatic updates by:

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 ✌🏽