You can register an iTabCode account to be able to view iTabCode without ads. ( Registration is Free ) Register Now


Staff Member
Usually we use Virtual Machines on Windows and use Kali Linux there. But there are lots of Kali fans using Kali Linux directly (as a primary OS) on their PC. Here we sometime need to install virtual machine of other OS or vulnerable virtual machine.

virtualbox in kali thumbnail.jpg

We have already discussed a way where we had used KVM (Kernel Virtual Manager) in our Metasploitable2 and Windows installation in Linux. Al tough KVM has lots of functions but majority of people will chose VirtualBox because they are used to with VirtualBox.

Oracle VM VirtualBox is a free and open-source hosted hypervisor for x86 virtualization in this tutorial we describe how easily we can install VirtualBox in our Kali Linux system and use it.

First of all we need to go to the Linux download section of VirtualBox by clicking on this link. A new window will open like following screenshot:

VirtualBox for Linux.jpg

In the above screenshot we can see that VirtualBox is not directly available for Kali. But the Ubuntu's VirtualBox will work in Kali Linux and almost other Debian based distributions.

Now we download the VirtualBox for latest Ubuntu version. It is a .deb file with almost 85 MB of size.

After download the deb installer file on the Downloads folder we open the the terminal there and to install it we apply following command:
sudo dpkg -i virtualbox*.deb

Then it will start installing VirtualBox on our Kali Linux system.

virtualbox installer.png

After a little bit of time (depending on our computer's performance) it will complete.

Now we can search the VirtualBox on the Application menu.

Searching VirtualBox.png

Now we click on this to open it. It will open in the following screenshot:

VirtualBox in Linux.png

Now we can use it to configure any other OS under Kali Linux. This is how we can install VirtualBox in our Kali Linux machine and the installation process of other OS in it will be the same as we do it on Windows.

Using Kali Linux as primary OS ? Our daily life with Kali Linux might be interesting.

Liked our tutorial ? Then make sure to follow our newsletter to get updated whenever we publish a new tutorial about Kali Linux. Also we update our articles in Twitter and GitHub, make sure to follow us there.
For any problem or question please do a comment in the comment section below. We always reply.