In this tutorial, we will show you the method to install oracle virtualbox on debian. Oracle VirtualBox 5.2 is the latest major release. Oracle VM VirtualBox is a open-source hypervisor for x86 computers.
How To Install Oracle VirtualBox On Debian
At first, follow the command below to update the current packages of your system:
sudo apt-get update sudo apt-get upgrade
Now, Import the Oracle public key to your system :
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 -
Now after importing public key, Configure Apt repository on your Debian system. Execute the following command to add an entry to /etc/apt/sources.list at end of the file.
sudo add-apt-repository "deb http://download.virtualbox.org/virtualbox/debian `lsb_release -cs` contrib
Finally, Install Oracle Virtualbox:
Open your terminal and run the following command to install Oracle Virtualbox.
sudo apt-get update sudo apt-get install virtualbox-5.2