Ubuntu 18.04 update installed packages for security

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

  1. Open the terminal.
  2. Update the package index:
sudo apt update
  1. Upgrade all installed packages to the latest available version, including security updates:
sudo apt upgrade
  1. To update the installed packages specifically for security, you can use the following command:
sudo apt-get upgrade --only-upgrade

Note: The apt-get command is being deprecated and is gradually being replaced by apt, but it still works in Ubuntu 18.04.

After the upgrade process is completed, you can use the apt list --upgradable command to verify that all security upgrades have been installed successfully.

Leave a Comment