Question: How Do I Install Security Updates on Ubuntu?

Question: How Do I Install Security Updates on Ubuntu?
Contents

How do I install only security updates in Ubuntu?

This applies both to Debian and Ubuntu, but more specific instructions for Ubuntu follow.

  1. Show security updates only : apt-get -s dist-upgrade |grep “^Inst” |grep -i securi. …
  2. Show all upgradeable packages apt-get -s dist-upgrade | grep “^Inst”

Does Ubuntu install security updates automatically?

You need to install the unattended-upgrades package. It will automatically install software updated, including security updates. This page shows how to install security updates automatically when released by the Ubuntu security team.

Maya Lin-Takahashi
Author

Maya Lin-Takahashi

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.