How to Install Oracle VirtualBox 6.0 on Debian 9 (Stretch)

Channel: Linux
Abstract: The VirtualBox is the most used Virtualization platform by the users. It is free and opensource hypervisor for x86 computers. You can easily install V

The VirtualBox is the most used Virtualization platform by the users. It is free and opensource hypervisor for x86 computers. You can easily install VirtualBox on a Debian Linux system with simple steps.

This article helps you to install VirtualBox on Debian 9 (Stretch) Linux machine.

Step 1 – Prerequsities

Login to your Debian server with root or sudo privileged user and update current packages of your system to the latest version.

sudo apt-get update
sudo apt-get upgrade
Step 2 – Add VirtualBox PPA

Now, you need to add Oracle VirtualBox PPA to Ubuntu system. You can do this by running the below command on your system.

echo "deb http://download.virtualbox.org/virtualbox/debian stretch contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list

This command will create a file and make entry to /etc/apt/sources.list.d/virtualbox.list.

Step 3 – Import Sign Key

After adding the required apt repository on your system, download and import the Oracle public key for apt-secure using 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 -
Step 4 – Install VirtualBox on Debian

You are ready now to install VirtualBox on a Debian system. Run the following commands on the terminal to complete the VirtualBox installation on a Debian system.

sudo apt-get update
sudo apt-get install virtualbox-6.0
Step 5 – Launch VirtualBox

We can use launcher link on your Desktop system to start VirtualBox or simply use command from a terminal.

virtualbox

Ref From: tecadmin

Related articles