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 -O- | sudo apt-key add -
wget -q -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] eoan contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list

Ubuntu 18.04/16.04 & Debian 10/9:

echo "deb [arch=amd64] $(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 ~/

You can also download it manually

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:

Run CentOS 8 VM using Vagrant on KVM / VirtualBox / VMWare / Parallels

How To Install VirtualBox 6 on CentOS 8 / RHEL 8

Your support is our everlasting motivation,
that cup of coffee is what keeps us going!

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.


Please enter your comment!
Please enter your name here