The step by step instructions below will explain how to install VirtualBox Guest Additions on Kali Linux. Kali Linux will ordinarily install the Guest Additions software automatically, as long as it successfully detects that the operating system is installed inside VirtualBox. Install Guest Additions via apt Package Manager If you want to reinstall Guest Additions because it’s not working, or just upgrade to the latest version, the instructions below will also help you. VirtualBox Guest Additions can be installed from Kali’s official package repository. Follow the steps below to use this method to install the software. First, make sure your Kali Linux system is up to date. This will ensure that you have the latest kernel and can then install the appropriate version of the VirtualBox Guest Additions software. Use the following command to install VirtualBox Guest Additions with the apt package manager. $ sudo apt install -reinstall virtualbox-guest-x11 If you get a message saying that the package is already installed, but you want to reinstall it because it’s not working, use the -reinstall flag. After the package is done installing, you’ll need to reboot the virtual machine for changes to take effect. You should now notice the automatic resolution scaling and other features being active. To verify succesful installation of the Guest Additions module, run the following command. Don’t forget that some features need to be enabled through the “Devices” menu before you can use them. In case you would like to use the Guest Additions CD image to install the software, instead of from package manager, follow the steps below. First, we’ll use the system’s package manager to refresh package repositories, then install the prerequisite packages. $ sudo apt install linux-headers-$(uname -r) build-essential dkmsĮxecute the following commands in terminal. Next, insert the Guest Additions CD into the VM by clicking on Devices > Insert Guest Additions CD Image. Make a new directory to which you can mount the Guest Additions CD. Finally, execute the Guest Additions install script. That’s all there is to it, but you’ll need to reboot the virtual machine before you can enjoy the new benefits.
0 Comments
Leave a Reply. |