VirtualBox 5.2.16 Released — Here’s How to Install / Upgrade on Ubuntu 16.04 | 17.10 | 18.04

A new version of VirtualBox (5.2.16) has just been released and this brief tutorial shows you how to install / upgrade to it on Ubuntu 16.04 | 17.10 | 18.04 LTS servers….

For more about this released, please check  its changelog page

VirtualBox gets new updates very frequently on Windows and Linux systems… if you want to consistently get these updates when they become available, you’ll want to add VirtualBox repository to your systems… doing that will make all future updates available to your systems immediately…

For those who don’t know what VirtualBox is, it’s a cross-platform virtualization software that allows you to run guest operating system inside a windows of the host computer. The guest machine can Windows, Linux or Mac operating systems..

To get started with adding VirtualBox’s repository to Ubuntu systems, follow the steps below:

Step 1: Add VirtualBox Repository Key

To install VirtualBox repositories, you must first add the repository key… the key allows Ubuntu to authenticate and validate that all packages downloaded from the repository are trusted and signed with the repository key… this adds a layer of security

To add the repository key, run the commands below:

wget -q -O- | sudo apt-key add -
wget -q -O- | sudo apt-key add -

Step 2: Add VirtualBox Repository

Now that the repository key is added to Ubuntu system, run the commands below to add the Repository

sudo sh -c 'echo "deb $(lsb_release -sc) contrib" >> /etc/apt/sources.list.d/virtualbox.list'

After that, run the commands below to update Ubuntu repositories..

Step 3: Installing VirtualBox

At this point, the Ubuntu system should be ready to install the latest version of VirtualBox…

First you may want to remove older versions of the software if you’re still running it… to do that, run the commands below:

sudo apt remove virtualbox virtualbox-5.1

Next, run the commands below to install some requirement packages for VirtualBox

sudo apt update
sudo apt-get -y install gcc make linux-headers-$(uname -r) dkms

Finally, run the commands below to install the latest version of the software.

sudo apt update
sudo apt-get install virtualbox-5.2

Step 4: Install VirtualBox Extension Pack

After installing VirtualBox.. the next step will be to install the extension pack… to do that, go to its download page by clicking the link below… the select the supported extension for the current platform..

Select to open with Oracle VM VirtualBox (default)

VirtualBox ubuntu install

Then click Install

VirtualBox ubuntu upgrade

Scroll down and accept the licensing terms and complete the installation…. when you’re done… you should have the latest version of VirtualBox installed after running the above commands… Now go to search for the package and launch it.


You may also like the post below:

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.