Installing Virtualbox on Kali Linux

I have been receiving lots of comments that the below guide is not working the latest Kali 2017.

I suggest you do the following:

  1. Ascertain you have the following line in your /etc/sources.list file

deb kali-rolling main contrib non-free

2. Run the apt-get update and apt-get upgrade command as root

apt-get update && apt-get upgrade

3. Run apt-get dist-upgrade. This should upgrade your Kali

apt-get dist-upgrade

4. Reboot your machine to pick your new kernel.

5. Download Virtualbox 5.1 and install with the dpkg command.



Hackers For Charity
This is the old guide to install virtualbox on Kali 1.0

A friend insisted I do this, else its pretty simple
root@kali:~# apt-get update

root@kali:~# apt-get upgrade

root@kali:~# apt-get dist-upgrade
root@kali:~# apt-get install linux-headers-$(uname -r)

root@kali:~# wget

root@kali:~# dpkg -i virtualbox-4.2_4.2.14-86644~Debian~wheezy_i386.deb

Thats all.

This entry was posted in Uncategorized. Bookmark the permalink.

7 Responses to Installing Virtualbox on Kali Linux

  1. Eddy says:

    Installing new software on linux for newbie is rather difficult. this really helps. thanks

  2. johnny says:

    thank you

  3. Animal says:

    Muchas gracias campeo eres el mejor de todos

  4. Paul David Ondik says:

    Reblogged this on GARGUNZA.NET and commented:
    Wanted to reblog this, because I spent more time today than I’ll admit trying to get the VirtualBox software I was using getting the virtual machine to start from Kali Linux. If you are having problems starting your VirtualBox virtual machine in Kali linux, remove the machine and reinstall following netsecuritystuff’s two simple instructions.

    • David says:

      Ive been working on installing virtualbox in kali for days now. I’ve tried the normal way that obviously doesnt work, and this and many other help offered, but It won’t install due to dependancy problems. Yes I’ve purged everything, checked in package manager nothing. Still fails.

      • watathi says:

        Hi David,

        Let me know the error or message you are getting when trying to install virtualbox. Also let me know the version of kali linux you are running. In my case since I upgraded from Kali 1.0.5 I had to use a specific version of virtualbox – virtualbox-4.2_4.2.18-88780

  5. Just follow this method, don’t use “apt-get install virtualbox” and don’t download the .deb and don’t install it with “gdebi virtualbox-4.3_*****.deb” : it will simply not work!!!

    If you have done it purge everything and follow this method


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s