How to install Virtual Box 5.2 ubuntu 16.04

I am predominantly a Linux and MacOS in my home office and usually make use of Windows Virtual Machines for my Windows based development. I have always made use of Oracle VM VirtualBox over the years.

I recently ran into an issue whereby Windows 10 VMS just wouldn’t update. They would download the update which would require a restart and then the VM’s would just hang. I tried this several times and it always end with the same result.

After a little research it appears that there seemed to be some kind of issue with Windows 10 and the Virtual Box 5.1. It seemed I needed to upgrade VirtualBox 5.2.

I decided to upgrade but the process didn’t go as smooth as it should, so I thought I would make a note in an effort to help anyone facing a similar problem.



How to install VirtualBox 5.2 on Ubuntu

Open your Terminal Window (Ctrl + Alt + t) and remove Virtual box 5.1.

Add a new repository

Set Up the Keyring to enable a trust relationship with the new repository

We can now update the repository listings and install virtualbox 5.2

At this point you may be able to open the new VirtualBox UI but in my case I was not able to start any of my Old VM’s.   After struggling and panicing for 10 minutes I found that I needed to run the below command twice then everything just started working

Summary

VirtualBox 5.2 is a major upgrade and the UI takes on a more polished and modern feel. There are a few additional features available;

 

  • New ability to enable export VM to Oracle Cloud
  • Unattended guest installation
  • Virtual Media Manager and Snapshot Pane re-work

So far I have been playing around with it and not as yet found any issues.

Gary Woodfine

Freelance Full Stack Developer at threenine.co.uk
Helps businesses by improving their technical proficiencies and eliminating waste from the software development pipelines.

A unique background as business owner, marketing, software development and business development ensures that he can offer the optimum business consultancy services across a wide spectrum of business challenges.

Latest posts by Gary Woodfine (see all)

Affiliate Disclaimer

Disclosure: Please note that some of the links included in the blog posts are affiliate links, which means I will earn a commission if you decide to make a purchase.

I only include affiliate links to products, services and companies that I have personal experience and have actually used. I only recommend them because they are helpful and useful, not because of the small commissions I make if you decide to buy something.

Please do not spend any money on these products unless you feel they are relevant, suitable and will help you achieve your goals.

Buying anyone of these products and the commisions earned will not make me an overnite multi millionaire, but they will help to cover the hosting costs and compensate for the countless hours and effort I put in to create meaningful and valuable free content I provide to help others succeed.

You've also undoubtedly noticed that I also use various advertising networks - unless of of course you're using an Ad blocker, this is also an attempt to reduce my monthly deficit I experience in providing free relevant, valuable and on occassion insightful content for the benefit of others.

I only really make some money if people click on the ads, unless of course you consider 1c per 1000 impressions real money!

Bear in mind just how many impressions I need to make before I can cover my £20 hosting costs a month!

If you are using an adblocker and guilt stricken you can of course donate using any of the buttons below, but I won't be holding my breath.

Buy me a coffeeBuy me a coffee

π