We are committed to provide service 24 X 7

Deals, Shopping, Training, Tools

Learn how to – How To Install VirtualBox 6.1 on Kali Linux 2022.x

Learn how to – How To Install VirtualBox 6.1 on Kali Linux 2022.x.

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 6.1 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 bullseye 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:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
virtualbox is already the newest version (6.1.32-dfsg-1).
The following NEW packages will be installed:
  virtualbox-ext-pack
0 upgraded, 1 newly installed, 0 to remove and 674 not upgraded.
6 not fully installed or removed.
Need to get 0 B/13.0 kB of archives.
After this operation, 130 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
(Reading database ... 277837 files and directories currently installed.)
Preparing to unpack .../virtualbox-ext-pack_6.1.32-1_all.deb ...
License has already been accepted.
Unpacking virtualbox-ext-pack (6.1.32-1) ...
Setting up libvncserver1:amd64 (0.9.12+dfsg-7) ...
Setting up libsdl1.2debian:amd64 (1.2.15+dfsg2-5) ...
Setting up libgsoap-2.8.91:amd64 (2.8.91-2) ...
Setting up virtualbox-dkms (6.1.32-dfsg-1) ...
Loading new virtualbox-6.1.32 DKMS files...
Building for 5.15.0-kali3-amd64
Building initial module for 5.15.0-kali3-amd64
Done.

vboxdrv.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.15.0-kali3-amd64/updates/

vboxnetadp.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.15.0-kali3-amd64/updates/

vboxnetflt.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.15.0-kali3-amd64/updates/

depmod....

DKMS: install completed.
Setting up virtualbox (6.1.32-dfsg-1) ...
vboxweb.service is a disabled or a static unit, not starting it.
Setting up virtualbox-ext-pack (6.1.32-1) ...
removing old virtualbox extension packs
virtualbox-ext-pack: downloading: https://download.virtualbox.org/virtualbox/6.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".
Setting up virtualbox-qt (6.1.32-dfsg-1) ...
Processing triggers for desktop-file-utils (0.24-1) ...
Processing triggers for mime-support (3.64) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for libc-bin (2.29-3) ...
Processing triggers for systemd (243-8) ...
Processing triggers for man-db (2.9.0-1) ...
Processing triggers for shared-mime-info (1.10-1) ...

You can check the version of VirtualBox installed with the command:

$ apt policy virtualbox
virtualbox:
  Installed: 6.1.32-dfsg-1+b1
  Candidate: 6.1.32-dfsg-1+b1
  Version table:
 *** 6.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.

How To run Kali Linux on VirtualBox with Vagrant

How To Install VirtualBox on CentOS / RHEL 8

How To Install Vagrant on CentOS / RHEL 8

Top Cyber Security Learning Video Courses:

Cart

Your Cart is Empty

Back To Shop