Skip to content

Instantly share code, notes, and snippets.

@minmur
Last active July 15, 2018 12:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save minmur/adc64afa17174f828f482279ba7c623c to your computer and use it in GitHub Desktop.
Save minmur/adc64afa17174f828f482279ba7c623c to your computer and use it in GitHub Desktop.
Upgrade Ubuntu from command line
sudo apt-get update         // Fetches the list of available updates
sudo apt-get upgrade        // Strictly upgrades the current packages
sudo apt-get dist-upgrade   // Installs updates (new ones)
sudo apt-get autoremove     // Clear unnecessary dependencies

sudo reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment