How to Install VirtualBox on Debian 10

Install VirtualBox on Debian 10

In this article, we will have explained the necessary steps to install and configure VirtualBox on Debian 10. Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. All the commands in this tutorial should be run as a non-root user.

VirtualBox is an open-source cross-platform virtualization software which allows you to run multiple guest operating systems (virtual machines) simultaneously. Oracle VM VirtualBox lets you create one or more VMs on a single physical server. Virtual Machines are computers that use the hardware components of the host computer, each running its own operating system. VB supports the installation of MS Windows, Linux, BDS, and MS-DOS on the installed VMs.

Install VirtualBox on Debian

Step 1. The first command will update the package lists to ensure you get the latest version and dependencies.

Step 2. Installing VirtualBox.

First, import the VirtualBox repository GPG keys to your system:

Next, add the VirtualBox apt repository:

Once the VirtualBox repository is enabled, update the apt package list and install the latest version of VirtualBox:

Step 3. Install VirtualBox extension on Ubuntu:

For additional features you may wish to install Virtualbox extension. To do so execute the below command:

Once the download is completed, run the following command to install the extension pack:

Step 4. Starting VirtualBox.

Now that VirtualBox is installed on your Ubuntu system you can start it either from the command line by typing virtualbox or by clicking on the VirtualBox icon (Applications -> System Tools -> Oracle VM VirtualBox.).

Congratulation, you have learned how to install and configure VirtualBox on Debian 10 Buster. If you have any question, please leave a comment below.