How to Upgrade to Ubuntu 18.04 Bionic Beaver

Ubuntu 18.04 LTS (codenamed “Bionic Beaver”) stable version has been released. It will be supported for 5 years until April 2023.

In this article, we will explain how to upgrade to Ubuntu 18.04 Bionic Beaver from Ubuntu 16.04 LTS or 17.10.

What’s New in Ubuntu 18.04

Before we proceed to the upgrade instructions, let’s look at some of the base system new features and changes in 18.04:

  • Ships in with Linux kernel 4.15.
  • OpenJDK 10 is the default JRE/JDK.
  • Gcc is now set to default to compile applications.
  • The default CIFS/SMB protocol version change in CIFS mounts.
  • Supports mitigations to protect against Spectre and Meltdown.
  • Bolt and thunderbolt-tools have been promoted to main.
  • Libteam which is available in the Network manager, offers teaming support.
  • Systemd-resolved is the default resolver.
  • ifupdown has been deprecated in favor of netplan.io, in new installs.
  • networkctl command can be used to view a summary of network devices.
  • GPG binary is provided by gnupg2.
  • Swap file will be used by default instead of a swap partition, in new installs.
  • Python 2 is no longer comes preinstalled, and Python 3 has been updated to 3.6.
  • For new installs, the installer no longer offers the encrypted home option using ecryptfs-utils.
  • OpenSSH no longer uses RSA keys smaller than 1024 bits and much more under desktop and server versions.

Warning: Start by backing up your existing Ubuntu installation or important files (documents, images and many more), before performing an upgrade. This is recommended because, sometimes, upgrades do not go well as planned.

A backup will ensure that your data remains intact, and you can recover it, in case of any failures during the upgrade process, that could lead to data loss.

Upgrade to Ubuntu 18.04 Desktop

1. First of all, ensure that your existing Ubuntu system is up-to-date, otherwise run the commands below to update the apt package source cache and perform an upgrade of installed packages, to the latest versions.

$ sudo apt update
$ sudo apt upgrade 

Then, restart your system to finish installing the updates.

2. Next, launch the “Software & Updates” application from System Settings.

Ubuntu Software and Updates
Ubuntu Software and Updates

3. Then click on the third Tab “Updates”.

Select Updates
Select Updates

4. Next, On Ubuntu 17.04, set the “Notify me of a new Ubuntu version” dropdown menu to “For any new version”. You will be asked to authenticate, enter your password to continue. On Ubuntu 16.04, leave this setting to “For long-term support versions”.

Notify New Ubuntu Version
Notify New Ubuntu Version

5. Then search for “Software Updater” and launch it or open a terminal and run the update-manager command as shown.

$ update-manager -cd 

The update manager should open up and inform you like this: New distribution release ‘18.04’ is available.

Run Update Manager
Run Update Manager

6. Next, click on “Upgrade” and enter your password to continue. Then you will be shown the Ubuntu 18.04 release notes page. Read through it and click Upgrade.

Upgrade to Ubuntu 18.04
Upgrade to Ubuntu 18.04

7. Now your upgrade process will start as shown in the following screenshot.

Ubuntu Upgrade Process
Ubuntu Upgrade Process

8. Read the details of the upgrade and confirm that you want to upgrade by clicking on “Start Upgrade”.

Start Ubuntu Upgrade
Start Ubuntu Upgrade

9. Once you have confirmed that you want the upgrade, the update manager will start downloading Ubuntu 18.04 packages as shown in the following screenshot. When all packages have been retrieved, the process can not be canceled. You can click on “Terminal” to see how the upgrade process is unfolding.

Downloading Ubuntu 18.04 Packages
Downloading Ubuntu 18.04 Packages

10. Afterwards, all the Ubuntu 18.04 packages will be installed on the system (this will take some time), then you will be asked to either remove or keep obsolete packages. After clean up and restart the system to complete the upgrade.

Restart Ubuntu to Complete Upgrade
Restart Ubuntu to Complete Upgrade

11. Then, you can login and start using Ubuntu 18.04 LTS.

Ubuntu 18.04 Login
Ubuntu 18.04 Login
Ubuntu 18.04 Desktop
Ubuntu 18.04 Desktop
Ubuntu 18.04 Summary
Ubuntu 18.04 Summary

Upgrade to Ubuntu 18.04 Server

If you do not have physical access to your server, the upgrade can be performed over SSH, though this method has one major limitation; in case of loss of connectivity, it is harder to recover. However, the GNU screen program is used to automatically re-attach in case of dropped connection problems.

1. Begin by installing the update-manager-core package, if it is not already installed as shown.

$ sudo apt install update-manager-core

2. Next, ensure that the prompt line in /etc/update-manager/release-upgrades is set to normal. If that is the case, launch the upgrade tool with the following command.

$ sudo do-release-upgrade 

3. Then follow the on-screen instructions to continue.

You can find more information, especially concerning changes in desktop and server releases, from the Ubuntu 18.04 release notes page.

That’s It! In this article, we have explained how to upgrade to Ubuntu 18.04 Bionic Beaver from Ubuntu 16.04 LTS or 17.10. If you have any queries, reach us via the feedback form below.

Hey TecMint readers,

Exciting news! Every month, our top blog commenters will have the chance to win fantastic rewards, like free Linux eBooks such as RHCE, RHCSA, LFCS, Learn Linux, and Awk, each worth $20!

Learn more about the contest and stand a chance to win by sharing your thoughts below!

Aaron Kili
Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.

Each tutorial at TecMint is created by a team of experienced Linux system administrators so that it meets our high-quality standards.

Join the TecMint Weekly Newsletter (More Than 156,129 Linux Enthusiasts Have Subscribed)
Was this article helpful? Please add a comment or buy me a coffee to show your appreciation.

2 Comments

Leave a Reply

Got Something to Say? Join the Discussion...

Thank you for taking the time to share your thoughts with us. We appreciate your decision to leave a comment and value your contribution to the discussion. It's important to note that we moderate all comments in accordance with our comment policy to ensure a respectful and constructive conversation.

Rest assured that your email address will remain private and will not be published or shared with anyone. We prioritize the privacy and security of our users.