upgrade-to-ubtunu-1604 lts.jpgUbuntu 16.04 is nearing release, meaning some of you will soon be thinking about when and how you plan to upgrade.

You don’t have to start from scratch with a fresh install (though some swear by it). You can upgrade to Ubuntu 16.04 ‘Xenial Xerus’ from Ubuntu 15.10, both before its final release and after.

In this article shows you how.

Things You’ll Need to Upgrade

To follow along with this tutorial you need the following  3 things:

  • An (up-to-date) install of Ubuntu 15.10
  • A (working) internet connection
  • A smidgen of patience

That it; you don’t need a USB thumb-drive, blank DVD, or even a cup of coffee (though the latter is still very much recommended).

Provisos

1510-upgrade

Just because you can upgrade to Ubuntu 16.04 LTS early doesn’t mean you should. You’ll be migrating from a supported stable version of Ubuntu to a pre-release version.

You should expect to encounter bugs (and possibly performance issues, doubly-true if your device uses AMD graphics).

It’s rare for in-place upgrades to go (drastically) wrong but it’s not impossible. Be smart and make a back-up of any/all important files BEFORE you begin.

Any third-party PPAs you currently have enabled will be disabled as part of the upgrade process.

If you’re upgrading a virtual machine now is an ideal time to use the snapshot feature (if available in your client) and make a mental note to re-install any ‘extras’ packages required for working 3D, file-sharing, etc.

Caution out of the way one final thing to note (because people always ask): as long as you install all updates as they’re pushed out to you, you will be running the exact same desktop as will be released later this month. You won’t need to ‘upgrade’ again.

On we go.

Prepare Your System

  1. Open “Software & Updates” in System Settings.
  2. Select the “Updates” tab in the window that appears
  3. Under “Install Updates from” click the box next to “Pre-released updates
  4. Set “Notify me of a new Ubuntu version” to “For any new version”

With the prep out of the way we can move on to the upgrade itself. This will differ depending on whether you’re reading this before or after the official release.

Upgrade Before Ubuntu 16.04 LTS Is Released

If you read this post before April 21, 2016 you will need to use the do-upgrade option.

Once again, keep in mind that you are upgrading from a stable Ubuntu release to a development one and this has possible drawbacks (especially if you use AMD graphics).

sudo apt-get update && sudo apt-get dist-upgrade
sudo update-manager -d

This last command will open the Update Manager tool where you’ll be able to press a shiny ‘upgrade’ button.

Running the command above on Ubuntu 16.04 LTS will upgrade you to 16.10 — be careful!

Upgrade After Ubuntu 16.04 LTS Is Released

If you read this article on or after April 21, 2016 upgrading from Ubuntu 15.10 is a cinch:

  1. Open “Update Manager” from the Unity Dash
  2. Let it check for new updates
  3. You’ll see the prompt: “New distribution release ‘16.04 LTS’ is available“.
  4. Click Upgrade and follow any on-screen instructions

If you don’t see this prompt you can try and force the upgrade from the command line. Run:

sudo do-release-upgrade

Okay the upgrade by entering your user password and pressing ‘y’ when prompted.

And that’s it; let the install process fetch all the required updates (this can take a while). When done, reboot your system.

wily werewolf Xenial Xerus