In this article, we will examine how to install Oracle VM VirtualBox virtualization program on Linux operating system.
How to Setup Oracle VM VirtualBox on Kali 2019
Kali Linux is a Debian-based Linux operating system developed by Offensive Security. If you have not installed Kali before, you can check out our article here.
Oracle VM VirtualBox is a free virtualization application that can be installed on Intel and AMD processor computers. VirtualBox virtualization software can be installed on operating systems such as Windows, Linux, macOS, Solaris.
Running Oracle VB on Windows is very easy, but when you setup VBox on a Linux distribution, you may sometimes encounter the errors.
In our previous articles, we installed Oracle VM Software on other Linux distributions. You can check our articles out in the links below.
If you are using Kali 64 Bit version, you need to download the Amd64 version. Kali is Debian based, so please click on the Ubuntu 18.04 / 18.10 / Debian 10 option to download VB Software.
Open the Terminal on Kali and navigate to the location where you downloaded the VM Software. To start setting up Oracle VM software on Kali, execute the dpkg -i virtualbox-6.0_6.0.10-125813-Ubuntu-bionic_amd64.deb command in Terminal.
As you can see in the image below, there was an error with dependent packets in the program setup. To run VBox in Kali OS, you must install these dependent packages.
To install libcurl4, libqt5opengl5, libqt5x11extras5, and libsdl1.2debian for VB installation, it is best to update Kali OS repositories first. Execute nano /etc/apt/sources.list in Terminal and add the following addresses.
Use the apt-get update command to update your system’s package lists.
In order to install Oracle VM Sofware, execute apt-get install dkms build-essential in Terminal to install dependent packages.
apt-get install dkms build-essential
If you encounter an error during installation, execute “apt –fix-broken install” command in Terminal.
After you build VBox to your system, type virtualbox in the terminal and press Enter to run the program. If you encounter a kernel (4.15.0-kali2-amd64) error while running VBox Software as in the image below, proceed to the next step.
To fix the kernel (4.15.0-kali2-amd64) error, first download the package from here to your computer and then execute the dpkg -i linux-headers-4.15-0-kali2-amd64.deb command in Terminal.
dpkg -i linux-headers-4.15-0-kali2-amd64.deb
When installing the kernel (4.15.0-kali2-amd64) package, you can check the following image to see if there are any required packages. These packages; linux-headers-4.15.0-kali2-common, linux-kbuild-4.15, and linux-compiler-gcc-7-x86.
You can find linux-headers-4.15.0-kali2-common, linux-kbuild-4.15, and linux-compiler-gcc-7-x86 in the folder you have downloaded. Build the dependent packages on your system as follows.
After you successfully setup VirtualBox on Kali, you can learn the version of the program from Help / About.
How to Setup Oracle VM Software 6.0.10 on Kali 2019.2 ⇒ Video
You can watch the video below to setup Oracle VM Software in Kali OS step by step, and you can also subscribe to our YouTubechannel to support us!
How to Download and Configure Extension Pack for VBox
After running the Oracle VM VirtualBox virtualization software on your system, the first thing you must do without creating a new VM is to add the Extension Pack software to the program.
So if you want to learn how to add the Extension Pack to Oracle virtualization software step by step, you can click on the image below to see our article.
To apply these steps, you can also watch the video tutorial below.
In this article, we have examined how to setup Oracle VM VirtualBox 6.0.10 on Kali Linux 2019.2 and how to setup dependent packages step by step. Thanks for following us!