Manuel Ignacio López Quintero

Do you like this article? Share it with this link. Thanks!

Keep Ubuntu or Debian up to date

To keep your stable version of Ubuntu or Debian up to date, open a terminal and execute these commands in the following order:

sudo apt-get update

sudo apt-get upgrade

sudo apt-get dist-upgrade

sudo apt-get autoremove

If you prefer, you can execute these commands in one line: sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade && sudo apt-get autoremove.

Finally, reboot your system if Ubuntu or Debian tells you to do it or if you want maximum guarantee. If you don't want to reboot your system, restarting the updated applications or logging out and then logging in is enough.

Do you like this article? Share it with this link. Thanks!