You can support us by downloading this article as PDF from the Link below. Download the guide as PDF

In this guide, we will look at how to install the latest release of VirtualBox 6.1 on Ubuntu 20.04/18.04 and Debian 10 / Debian 9. VirtualBox is a powerful,feature-rich, high-performance and open source x86 and AMD64/Intel64 virtualization solution for both home users and enterprise.

VirtualBox is licensed under the terms of the GNU General Public License (GPL) version 2 and it runs on Linux, macOS, Windows, e.t.c. There are two ways to install VirtualBox on Ubuntu & Debian. One method is using upstream repositories, and the other is from a .deb package.

Install VirtualBox 6.1 on Ubuntu 20.04/18.04 & Debian 10/9

To get the latest release of VirtualBox on your Ubuntu 20.04/18.04 & Debian 10/9 system, the recommended way of installation is from apt repository. Follow steps below to have the latest VirtualBox installed on your Ubuntu 20.04/18.04 and / Debian 10/9.

Step 1: Import apt repository

Add repository key:

wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -

Step 2:  Add the VirtualBox repository

After importing the key, you can add the repository to the system using the command:

Ubuntu 20.04:

echo "deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian eoan contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list

Ubuntu 18.04/16.04 & Debian 10/9:

echo "deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list

Step 3:  Install VirtualBox & Extension pack

Finally, install VirtualBox & Extension pack on your Ubuntu 20.04/18.04 / Debian 10/9 system by running the commands:

sudo apt update
sudo apt install linux-headers-$(uname -r) dkms
sudo apt-get install virtualbox-6.1

Download Extension Pack:

cd ~/
wget https://download.virtualbox.org/virtualbox/6.1.6/Oracle_VM_VirtualBox_Extension_Pack-6.1.6.vbox-extpack

You can also download it manually  https://www.virtualbox.org/wiki/Downloads

Once the file is downloaded, install the extension pack by clicking on the Downloaded file.

install virtualbox 6.0 ubuntu 18.04 16.04 debian 9 04

Step 5: Launching VirtualBox 6.1 on Ubuntu / Debian

Once VirtualBox is installed, you can launch it using the terminal or Desktop applications search.

install virtualbox 6.0 ubuntu 18.04 16.04 debian 9

From terminal, use:

$ virtualbox

The new user interface for VirtualBox interface looks like below:

install virtualbox 6.0 ubuntu 18.04 16.04 debian 9 new ui

You should now have the latest version of VirtualBox installed on your Ubuntu 20.04/18.04 & Debian 10/9 system.

More guides:

As an appreciation for the content we put out,
we would be thrilled if you support us!


As we continue to grow, we would wish to reach and impact more people who visit and take advantage of the guides we have on our blog. This is a big task for us and we are so far extremely grateful for the kind people who have shown amazing support for our work over the time we have been online.

Thank You for your support as we work to give you the best of guides and articles. Click below to buy us a coffee.

LEAVE A REPLY

Please enter your comment!
Please enter your name here