Homehow to installHow to install VirtualBox on Linux with an easy way

How to install VirtualBox on Linux with an easy way

Virtualbox on Linux – In this article, I will show you how to properly install VirtualBox on Linux.

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

How to install Virtualbox on Linux

Step 1:

First, you need to import the VirtualBox repository key so that you run the below command on your 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:

Now we need to update the kali-Linux machine so type the below command 

				
					sudo apt update
				
			

Step 4:

VirtualBox has different 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. So do this command

				
					sudo apt install -y dkms
				
			

Step 5:

After that type the following command to install the Virtualbox

				
					sudo apt install -y virtualbox virtualbox-ext-pack
				
			
How to install VirtualBox on Linux with an easy way

Step 6:

After completing the above steps type the below command to run the virtualbox

				
					virtualbox
				
			
How to install VirtualBox on Linux with an easy way

Now you can add any operating system to this Virtualbox. I hope this article helps you lot, if you have any doubts means ask me the command section. 

RELATED ARTICLES

Leave A Reply

Please enter your comment!
Please enter your name here

Most Popular