You can support us by downloading this article as PDF from the Link below. Download the guide as PDF
Welcome to our guide on how to How to install Virtualbox Latest on Ubuntu and Kali Linux. VirtualBox allows you to run more than one operating system at a time. This way, you can run software written for one operating system on another (for example, Windows software on Linux or a Mac) without having to reboot to use it.
Since you can configure what kinds of “virtual” hardware should be presented to each such operating system, you can install an old operating system such as DOS or OS/2 even if your real computer’s hardware is no longer supported by that operating system.
Other virtualization platforms are Vmware and KVM on Linux.

Virtualbox allows you to:  

  1. Running multiple operating systems simultaneously. VirtualBox allows you to run more than one operating system at a time. 
  2. Testing and disaster recovery. Once installed, a virtual machine and its virtual hard disks can be considered a “container” that can be arbitrarily frozen, woken up, copied, backed up, and transported between hosts.
  3. Infrastructure consolidation. Virtualization can significantly reduce hardware and electricity costs. Most of the time, computers today only use a fraction of their potential power and run with low average system loads.

Here is a short tutorial on installing latest VirtualBox 5.x on Ubuntu, Kali Linux 2.0 and any other Debian derivative.

Install VirtualBox on Debian 9

To install VirtualBox on Debian 9 from its apt repositories, add the following line to /etc/apt/sources.list.d/virtualbox.list file.
1.) Adding Virtualbox Debian repositories
echo "deb stretch contrib" >> /etc/apt/sources.list.d/virtualbox.list

For Debian 8, add:

echo "deb jessie contrib" >> /etc/apt/sources.list.d/virtualbox.list

For Ubuntu 16.04 LTS, add:

echo "deb xenial contrib" >> /etc/apt/sources.list.d/virtualbox.list

Downloading and adding repo key:

wget -q -O- | sudo apt-key add -
wget -q -O- | sudo apt-key add -

Do system update to update repos.

$ sudo apt-get update

Install VirtualBox Latest by typing.

$ sudo apt-get install virtualbox
Also, ensure that dkms is installed, dkms is a framework which allows kernel modules to be dynamically built for each kernel on your system in a simplified and organized fashion.
$ sudo  apt-get install dkms
That’s all and you have latest VirtualBox. Subscribe to get updates.
> How to install VirtualBox on Kali Linux
> How to install VirtualBox on Ubuntu
> Installing latest virtualbox on Linux
> virtualbox installation on Debian and it’s derivatives.
You can support us by downloading this article as PDF from the Link below. Download the guide as PDF


  1. Hi…I'm very new to Linux…I'm confused about when installing inside kali 2.0, Kali's official site says not to edit the original sources.list, so for the first step in your tutorial does that mean I have to create a new .list if I want to correctly install this inside kali without breaking it?

  2. I realize it probably sounds completely ridiculous what I'm asking…please go easy on me…if there is some more reading I haven't looked at yet, could you please just point me in that direction? Not looking for you to solve issue for me…thanks.

  3. I'm also intimidated by this and find many different approaches to installing virtual box on Kali 2.0 linux. I really don't want to mess up such a massive step.


Please enter your comment!
Please enter your name here