---
# System prepended metadata

title: Make sure your operating system is running the latest version.

---

# Make sure your operating system is running the latest version. 
Hackers love security flaws, also known as software vulnerabilities. A software vulnerability is a security hole or weakness found in a software program or operating system.

Check regularly (every 2 to 4 weeks) the software of your PC for updates.
Also update your OS in terminal using commands.

Depending on your OS, there are several settings and commands.

**For updating Ubuntu/Linux**
Make sure these settings are set: 
1. Find in the search menu "Software & Updates"
1. Go to "updates" 

Now set it like this:
* Subscribed to: All updates
* Automaticly check for updates: Daily
* When there are security updates: Download and install automatically
* When there are other updates: Display immediately
* Notify me of a new Ubuntu version: For long-term support versions, or any new version? **<--- Need to check**

Press "Revert" and then close the menu.
The pop-up will ask you to Reload to check if you have the latest update version.

*(Sometimes I still get a notification and need to manually press install)*

Update using your terminal

**Update a system manually**
`sudo apt-get update -y`
`sudo apt dist-upgrade -y`
`sudo apt-get autoremove`
`sudo apt-get autoclean`

**Keep a system up to date automatically**
`sudo apt-get install unattended-upgrades`
`sudo dpkg-reconfigure -plow unattended-upgrades`

