How To Install VirtualBox 6 on Debian 10

(: June 9, 2019)

In this guide, we will cover the installation of VirtualBox 6 on Debian 10. VirtualBox 6 is available for Windows and Linux users with plenty of new features. For those new to VirtualBox, it is a free to use and feature-rich Virtualization platform for x86 and AMD64/Intel64 systems.

For other platforms, refer to how to install VirtualBox on Ubuntu / CentOS / Fedora. Follow these few steps to install and enjoy VirtualBox on Debian 10 Desktop Linux distribution.

Step 1: Update your system

The first step is to ensure your system is updated.{text-align:left} img{margin:0 auto 0 0}
sudo apt update && sudo apt -y upgrade

Step 2: Import VirtualBox apt repository

Once the system is updated, import repository GPG key used for signing packages.

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

Step 3:  Add the VirtualBox Repository

After the importation of GPG key, add VirtualBox repository to your system using the following commands.

echo "deb [arch=amd64] bionic contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list

Step 4: Install VirtualBox & Extension pack

The final step is the actual installation of VirtualBox and extension pack which extends VirtualBox features.

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

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.

Click install and wait for the installation to complete.

Step 5: Launching VirtualBox 6.0

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

$ virtualbox

You should now have the latest version of VirtualBox installed on your Debian 10.

Related guides:

How to extend/increase KVM Virtual Machine (VM) disk size

How to Provision VMs on KVM with Terraform

How to Create CentOS / Fedora / RHEL VM Templates on KVM

How to disable netfilter on a KVM bridge{text-align:left} img{margin:0 auto 0 0}
Previous Post

Debian 10 (Buster) Released – New Features

Next Post

How To Create a Swap File on Linux

Related Posts