Ubuntu 18.04 update installed packages for security

Ubuntu 18.04 update installed packages for security

To update installed packages for security on Ubuntu 18.04, you can use the following steps:

  1. Make sure that your system is up to date by running the following command:
sudo apt-get update
Sou‮‬rce:www.lautturi.com

This will update the package manager's list of available packages and their versions.

  1. Install the unattended-upgrades package, which automatically installs security updates for you:
sudo apt-get install unattended-upgrades
  1. Enable automatic security updates by editing the /etc/apt/apt.conf.d/50unattended-upgrades file and setting the Unattended-Upgrade::Automatic-Reboot option to true. For example:
Unattended-Upgrade::Automatic-Reboot "true";
  1. Run the following command to automatically install any available security updates:
sudo unattended-upgrade -d

This will download and install any security updates that are available for your system.

Keep in mind that it is always a good idea to make a backup of your system before installing updates, in case anything goes wrong.

Alternatively, you can use the apt-get command to manually install security updates. To do this, run the following command:

sudo apt-get upgrade

This will install all available updates for your system, including security updates.

Created Time:2017-10-30 14:27:24  Author:lautturi