Installing VirtualBox on Ubuntu Systems

This brief tutorial shows students and new users how to install VirtualBox software on Ubuntu 18.04 | 16.04.

I’d recommend to all IT students and those taking IT exam classes to install VirtualBox or VMware Workstations. These two programs will help you greatly in perusing your goals.

VirtualBox and VMware Workstations are virtualization software. These programs install on existing computers which extend the capabilities of the host computers to allow you to run multiple operating systems inside these virtual machines at the same time.

If you’re a student or new user looking for a Linux system to start learning on, the easiest place to start is Ubuntu Linux OS…. It’s a great Linux operating system for beginners and folks looking for easier Linux distribution to use..

Ubuntu is an open source Linux operating systems that runs on desktops, laptops, server and other devices…

When using Ubuntu, you will find that Linux isn’t so different than Windows and other operating systems in so many ways, especially when it comes to using the system to get work done.…

Both Ubuntu and Windows systems allow you to be productive, easy to use, reliable and enable you to install and run thousands of programs from gaming to productivity suite software for individuals and businesses..

To get started with installing VirtualBox on Ubuntu, follow the steps below:

Step 0: Install Prerequisites

Before installing VirtualBox 6.1, please install these packages below if your systems don’t already have them installed….

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

Step 1: Add VirtualBox Repository

If you want to always get the latest versions of VirtualBox when they become available, you’ll want to add its software repository to Ubuntu…

Run the commands below to add the repository key to your system…

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

After adding the repository key above, run the commands below to add VirtualBox package repository…

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

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

Step 2: Installing VirtualBox

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

First you may want to remove the previous 6.0 version if you’re still running it… to do that, run the commands below:

sudo apt remove virtualbox virtualbox-6.0

Finally, run the commands below to install the latest 6.1 (major) version of the software.

sudo apt update
sudo apt-get install virtualbox-6.1

After installing, go and lunch the app by going to the Activities overview and searching for it… and opening it…

VirtualBox 6.1 Ubuntu Install

Step 3: 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… then select the All supported platforms.


When prompted, select to open with Oracle VM VirtualBox (default)

VirtualBox extension pack

Then click Install

VirtualBox extension pack install

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 have successfully installed VirtualBox virtualization software on Ubuntu 18.04… If you need more tutorials on Ubuntu, please check back later…

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.