How to Install VirtualBox 6.0.14 on Kali Linux 2019.4

In this article, we will examine how to install Oracle VM VirtualBox virtualization program on Linux operating system.

How to Install VirtualBox on Kali Linux

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.

In this article, we are going to configure Oracle VB Software on Kali Linux 2019.4 version step by step.

NOTE: You can also install VirtualBox 6.0.14 on Kali Linux 2019.4 by following the steps below.

How to Run Oracle VM VirtualBox

After installing Kali OS, you need to install Oracle VM Software or VMware Workstation to install and run a Windows, Linux-based operating system or macOS VM on your system.

VirtualBox is the most preferred application because it is a free virtualization software. To install Oracle VBox Software, follow the steps below.

   Step 1

To download VB Software for Linux, visit and click on Linux distributions.

Downloading VirtualBox for Linux

   Step 2

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.

Downloading VirtualBox for Linux

   Step 3

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.14-Ubuntu-bionic_amd64.deb command in Terminal.

dpkg -i virtualbox-6.0_6.0.14-Ubuntu-bionic_amd64.deb

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.

Running VirtualBox.deb Package

   Step 4

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.

Editing Kali Sources.list

   Step 5

Use the apt-get update command to update your system’s package lists.

apt-get update

   Step 6

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.

apt --fix-broken install

   Step 7

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.

Running VBox in Linux

   Step 8

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.

dpkg -i linux-headers-4.15-0-kali2-amd64.deb

   Step 9

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.

linux-headers-4.15.0-kali2-common, linux-kbuild-4.15, and linux-compiler-gcc-7-x86

   Step 10

After you successfully setup VirtualBox on Kali, you can learn the version of the program from Help / About.

VirtualBox Version

How to Setup Oracle VM Software ⇒ 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 YouTube channel 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.

How to Install Extension Pack

To apply these steps, you can also watch the video tutorial below.

   Final Word

In this article, we have examined how to setup Oracle VM VirtualBox 6.0.14 on Kali Linux 2019.4 and how to setup dependent packages step by step. Thanks for following us!

   Related Articles

How to Install Ubuntu on VirtualBox
♦ How to Add Extension Pack in Mint
♦ How to Re-Add Virtual Machines
♦ How to Install Extension Pack in Debian
♦ How to Install Debian in VirtualBox


  1. Avatar for Suer Suer 24 February 2019

    Thnx, very clear! Even for a beginner in lynux

    • Avatar for tolqabaqci tolqabaqci 24 February 2019

      You’re welcome! Thanks for your feedback!

  2. Avatar for dude dude 7 July 2019

    bash: virtualbox: command not found
    I got this error after typing virtualbox into my terminal

  3. Avatar for Smee Smee 24 July 2019

    The YouTube videos have been taken down so I can’t watch them.

    • Avatar for tolqabaqci tolqabaqci 24 July 2019

      Yes, some communities have been filing complaints with fake company names lately. There was a sub-channel that I had never used, and although everything was mine, the copyright notice was sent.

      I reported this to YouTube and sent a proof file explaining that all videos belong to me. We have to wait for YouTube’s decision. I am sorry for this.

  4. Avatar for Ali Ali 5 September 2019

    Great Article.. helped me alot after long search. Thanks.

    • Avatar for tolqabaqci tolqabaqci 6 September 2019

      You’re welcome! Thanks for your comment!


Add a Comment

Your email address will not be published. Required fields are marked *

Show Buttons
Hide Buttons