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.

1.) Adding Virtualbox debian repositories
 echo "deb vivid contrib" >> /etc/apt/sources.list.d/virtualbox.list
Downloading and adding repo key
wget -q -O- | sudo apt-key add -

2.) Do system update to update repos.

apt-get update
 3.) Install virtualbox Latest by typing.
apt-get install virtualbox
4.) Make sure 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.
 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.
  • 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?

  • 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.

  • 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.

  • The one posted here works fine on Kali 2.0 without any problems.You can trust it, Once you install repo key you won't encounter any issue.

  • Thanks!!!!! 😀 This one really worked after I almost broke my system twice following other shitty blogs 😀

  • Awesome,

  • I love the knowledge on your web site. thnx!.
    nhl 17 coins