The VirtualBox 6.0 is the latest major released by the by the Oracle team. This version is released with various performance improvements over the previous major releases. This article helps you to install VirtualBox on Debian 10 Buster Linux system.
Step 1 – Prerequsities
Login to your Debian 10 Buster Linux desktop system with sudo privileges user. Then update the currently installed packages on your system. To do this simply run the following commands.
sudo apt update sudo apt upgrade
Step 2 – Setup Apt Repository
Now, import the Oracle public key to your system, which has signed the Debian packages. You can add these key using the following commands.
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 -
Then configure the apt repository on your Debian 10 Buster system. This command will add an entry to /etc/apt/sources.list file at end of the file.
sudo add-apt-repository "deb http://download.virtualbox.org/virtualbox/debian bionic contrib"
The VirtualBox packages for Debian 10 Buster and Ubuntu 18.04 bionic are same. That’s why the repository is pointed to bionic.
Step 3 – Install VirtualBox on Debian 10
After completing the above steps, let’s install VirtualBox using the following commands. If you have already installed an older version of VirtualBox, Below command will update it automatically.
sudo apt update sudo apt install virtualbox-6.0
Step 4 – Launch VirtualBox
You can use the dashboard navigation tool to start VirtualBox or simply execute the following command from a terminal.