Welcome to our Virtualization guide on how to install the latest VirtualBox on Kali Linux rolling release. VirtualBox is a powerful, feature-rich, high-performance and open source x86 and AMD64/Intel64 virtualization solution for both home users and enterprise.
To get the latest VirtualBox on your Kali Linux, you’ll need to install the package from VirtualBox repositories as opposed to system repos.
Install VirtualBox on Kali Linux
Start the Installation of the latest release of VirtualBox on your Kali Linux Desktop by following below steps. Start by upgrading your system
sudo apt update && sudo apt -y full-upgrade
[ -f /var/run/reboot-required ] && sudo reboot -f
Step 1: Import apt repository
Install curl and gpg tools.
sudo apt install curl gpg gnupg2
Add repository key:
curl -fsSL https://www.virtualbox.org/download/oracle_vbox_2016.asc|sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/oracle_vbox_2016.gpg
curl -fsSL https://www.virtualbox.org/download/oracle_vbox.asc|sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/oracle_vbox.gpg
Step 2: Add the VirtualBox repository
Now that the repository key has been imported, add the VirtualBox repository by running the command:
echo "deb [arch=amd64] https://download.virtualbox.org/virtualbox/debian bookworm contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list
Step 3: Install VirtualBox & Extension pack
The install VirtualBox & Extension pack on your Kali Linux.
sudo apt update
sudo apt install linux-headers-$(uname -r) dkms
sudo apt install virtualbox virtualbox-ext-pack
Accept license agreement and wait for the installation to complete:
.....
depmod....
DKMS: install completed.
Setting up virtualbox (7.1.32-dfsg-1) ...
vboxweb.service is a disabled or a static unit, not starting it.
Setting up virtualbox-ext-pack (7.1.32-1) ...
removing old virtualbox extension packs
virtualbox-ext-pack: downloading: https://download.virtualbox.org/virtualbox/7.1.32/Oracle_VM_VirtualBox_Extension_Pack-3.vbox-extpack
The file will be downloaded into /usr/share/virtualbox-ext-pack
License accepted.
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Successfully installed "Oracle VM VirtualBox Extension Pack".
....
You can check the version of VirtualBox installed with the command:
$ apt policy virtualbox
virtualbox:
Installed: 7.1.32-dfsg-1+b1
Candidate: 7.1.32-dfsg-1+b1
Version table:
*** 7.1.32-dfsg-1+b1 500
500 http://http.kali.org/kali kali-rolling/contrib amd64 Packages
100 /var/lib/dpkg/status
Once VirtualBox is installed, you can launch it using the terminal or Desktop applications search.
virtualbox
Launch VirtualBox in your Applications launcher.

To create a new instance, click the “New” button at the top and boom!!.
More on Virtualization.
Hello Josphat,
I have to say I’ve been pulling out my hair trying to install Virtualbox in Kali-Linux. Every other site on the net was a dead end. Your instructions were right on! Thanks for you help. I’ve booked marked your web site and I’ll check in regularly.
Thanks for the comment Richard. We’re happy to learn the guide was helpful to you. Have a good time.
Worked perfectly! Thanks so much!