Upgrading to Ubuntu 18.04 LTS

By now you probably know Ubuntu 18.04 LTS will be released tomorrow April 26th 2018… If you’re currently using Ubuntu 16.04 or 17.10, you will be able to upgrade easily and do it in-place… There will be no need to completely reinstall 18.04..

This brief tutorial is going to show students and new users how to easily upgrade from Ubuntu 16.04 LTS / 17.10 to Ubuntu 18.04 LTS version..

Few things to remember before upgrading: Unity Desktop is not available on Ubuntu 18.04 and will come with GNOME desktop environment instead, Ubuntu 18.04 will be supported until April of 2023, so you should have good reason to upgrade, you cannot downgrade after upgrading and backup your data before uprading..

To upgrade from previous versions, please follow the steps below:

Step 1: Update Ubuntu

Prior to upgrading your current version, make sure to update all packages first… and if you have cutom PPA repositories installed, it’s recommended to remove those prior to upgrading… To update Ubuntu on the desktop, go to and search for Software Updater

ubuntu software update

Then open and check for new updates… and install all available updates. You may want to restart after updating all the old packages.

If you’re on the server or want to run the command line option, then run the commands below to update all packages on the server or desktop

sudo apt update && sudo apt dist-upgrade && sudo apt autoremove

Step 2: Upgrade Ubuntu

Now that your system is updated, go and search for Software & Updates… On For Ubuntu 17.10 Users… select the Updates tab and make sure to select the option:

Ubuntu 17.10 Systems

Notify me of new Ubuntu version: For any new version

ubuntu software upgrade

Ubuntu 16.04 LTS Systems

Notify me of a new Ubuntu version: For long-term support versions

ubuntu 16.04 upgrade

After saving your changes, Ubuntu should prompt your with upgrade notification to 18.04 as shown below:

ubuntu upgrade

Follow the prompts to upgrade your systems…

Step 3: Upgrading Ubuntu Servers

On Ubuntu servers, run the commands below to upgrade configuration the software upgrade tool…

sudo nano /etc/update-manager/release-upgrades

Then on Ubuntu 16.04 LTS system, make sure the prompt line is set to:

# Default behavior for the release upgrader.

[DEFAULT]
# Default prompting behavior, valid options:
#
#  never  - Never check for a new release.
#  normal - Check to see if a new release is available.  If more than one new
#           release is found, the release upgrader will attempt to upgrade to
#           the release that immediately succeeds the currently-running
#           release.
#  lts    - Check to see if a new LTS release is available.  The upgrader
#           will attempt to upgrade to the first LTS release available after
#           the currently-running one.  Note that this option should not be
#           used if the currently-running release is not itself an LTS
#           release, since in that case the upgrader won't be able to
#           determine if a newer release is available.
Prompt=lts

Save your settings

For Ubuntu 17.10 systems, the prompt should equal to normal

Save and exit…

Then run the commands below to upgrade the server

sudo do-release-upgrade -d

That’s it! Follow the prompts until you’ve fully upgraded Ubuntu

Enjoy!

You may also like the post below:

Install Telegram Desktop App on Ubuntu 16.04 / 17.10 and 18.04

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.