Install Oracle VirtualBox 6 on Ubuntu 18.10

VirtualBox is a brilliant virtualization tool used at desktop level which can be used to run Windows, Mac OS and Linux distributions. I like to use VirtualBox as a virtual lab to test new distributions like Ubuntu 19.04 (Disco Dingo) release to ensure that the applications that I use the most do actually work!

So in this tutorial I thought that I would show you how to install VirtualBox onto your desktop.

Repo Keys

Before you can do anything you will need to add the VirtualBox 6 Repo keys to our system. This can be achieved by running the following commands:

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

Followed by:

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

Now add the repository with:

sudo add-apt-repository "deb [arch=amd64] $(lsb_release -cs) contrib"

Finally, install VirtuallBox with the following:

sudo apt-get update && apt-get install virtualbox-6.0 -y

This will install VirtualBox 6 onto your system. The next step is optional but worthwhile.

Install the VirtualBox 6 extension pack

By installing the extension pack you will be adding some useful features that will enhance the usability of VirtualBox. For more information please visit

You can download the extension pack by using the following command:


Once downloaded, run the following:

sudo VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-6.0.6.vbox-extpack

You will now be prompted to accept the End User License Agreement, just type ‘y’ and hit enter. The extension pack will now install.

You should now have VirtualBox along with it’s extension pack installed on your system.