How to install Virtual Box on Linux

VirtualBox is a versatile virtualization tool for x86 and x8664 hardware. It is designed for servers, workstations, and embedded systems, allowing users and administrators to easily run multiple guest operating systems on a single host.

In this article, I'm going to teach you how to install virtual boxes on Linux operating system.

Install Virtual Box in Linux

Step 1:

First of all, we need to import the virtual repository key so execute the below command on your Linux terminal.

wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -

Step 2: 

Now we are going to add the VirtualBox repository to a separate file so that it does not interfere with the Kali Linux main repository.

echo "deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian buster contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list

Step 3: 

After completing the above steps update your Linux machine completely with the below commands

sudo apt update

Step 4: 

VirtualBox has several kernel modules (such as vboxdrv, vboxnetflt, and vboxnetadb) and we need to make sure to update them when the Kali kernel is updated. It can be archived with dkms. Then run this command.

sudo apt install -y dkms

Step 5: 

Now execute the following command to install the VirtualBox

sudo apt install -y dkms


 Step 6:

Once you completed the above steps now run the following command to run the virtual box in your Linux system.

virtualbox


Conclusion

That's it, you are done. This is the way to install the virtual box in Kali Linux. I hope this article helps you! please share with your friends also. if you have any doubts please free to ask in the command section

1 Comments

  1. Super super 👌👌👌👌👌👌👌👌👌👌👌👌

    ReplyDelete

Post a Comment

Previous Post Next Post