Skip to content

Instantly share code, notes, and snippets.

@monishnarwani
Created June 24, 2018 07:58
Show Gist options
  • Save monishnarwani/8a07678c5763d554d549483d1ca2190b to your computer and use it in GitHub Desktop.
Save monishnarwani/8a07678c5763d554d549483d1ca2190b to your computer and use it in GitHub Desktop.
This gist helps to update ubuntu version
sudo apt update
sudo apt upgrade
sudo apt dist-upgrade
sudo apt-get autoremove
sudo apt install update-manager-core
sudo do-release-upgrade
@monishnarwani
Copy link
Author

If you want to do this from the GUI, take the following steps:

  • Open the "Software & Updates" setting in System Settings.
  • Select the third tab, called "Updates."
  • Set the "Notify me of a new Ubuntu version" dropdown menu to "For any new version."
  • Press Alt+F2 and type in "update-manager -cd" (without the quotes) into the command box.
  • Update Manager should open up and tell you: New distribution release '18.04' is available.
  • If not, you can also use "/usr/lib/ubuntu-release-upgrader/check-new-release-gtk".
  • Click Upgrade and follow the on-screen instructions.

@monishnarwani
Copy link
Author

If you just can't wait for the final release, you can already move up to the beta by using this command:

  • $ sudo do-release-upgrade -d

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