
vboxdrv, vboxnetflt and vboxnetadp), we need to make sure they are kept up-to-date when Kali Linux’s kernel gets updated. :~$ sudo apt updateĪs VirtualBox has various kernel modules (e.g. At the time of writing, its “buster”: :~$ echo "deb bullseye contrib" | sudo tee /etc/apt//virtualbox.listĪs we have altered our network repository, we need to re-build the cache. One thing to bear in mind, Kali Linux is based on Debian, so we need to use Debian’s current stable version (even though Kali Linux is a rolling distribution). You may need to alter the example below if yours is different. We also will be making sure to state where the keyring is at so the files can be properly signed. We add this to a separate file, so it does not interfere with Kali Linux’s main repository. We then move onto adding VirtualBox’s repository. :~$ curl -fsSL |sudo gpg -dearmor -o /etc/apt//oracle_vbox.gpg :~$ curl -fsSL |sudo gpg -dearmor -o /etc/apt//oracle_vbox_2016.gpg The first thing we are going to do is import VirtualBox’s repository key. Preparationīefore trying to install VirtualBox, please make sure your version of Kali Linux is up-to-date, and if required, reboot the machine. Then there is also VMware Workstation & Fusion, which is a commercial software (there is VMware Player which is free but it is limited in features).

There are a few other software such as QEMU, KVM/Xen with virt-manager. Another is when something is going right, take a snapshot. You can have your host machine “untouched”, and then only interact with the guest VMs.

One of the being, able to run multiple Operating Systems (OSs) at the same time. However if you are wanting to install Kali Linux as a VM, you want our Kali Linux Guest VirtualBox guide. You can install VirtualBox on Kali Linux, allowing you to use virtual machines (VMs) inside of Kali Linux.
