How to Enable Automatic System Update in Ubuntu

Ubuntu checks for a system update every day and prompts you when there is a newer version of a software or system update available. If you would like to automate the whole updating process so it can install the update automatically in the background, here is how you can do so.

In Ubuntu, open the “Software & Updates” application. This is what you will see:


Go to the “Updates” tab. In the section “When there are security updates,” select from the dropdown “Download and Install automatically”.


Make sure you also check the boxes beside “Important security updates,” “Recommend updates” and “unsupported updates.” This will automate the updating of system files as well as all the software you have installed (from repository or via PPA).

Click “Close.” That’s it.

Enable auto update in Ubuntu server

If you are running a Ubuntu server and would like to automate the security update, here is the way to do it.

Type the following command in the SSH session:

sudo dpkg-reconfigure -plow unattended-upgrades

A pink window will appear and ask if you want to get the system to automatically download and install stable updates. Select “Yes.”


It will then reconfigure the system to automatically install stable updates. That’s it.

Let us know if this works for you.


Damien Oh started writing tech articles since 2007 and has over 10 years of experience in the tech industry. He is proficient in Windows, Linux, Mac, Android and iOS, and worked as a part time WordPress Developer. He is currently the owner and Editor-in-Chief of Make Tech Easier.

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox