
Once the installation is complete, all we need to do now is reboot the system for the new changes to take effect. The terminal output shows VirtualBox Guest Additions is being installed You should now see VirtualBox Guest Additions being installed. Now we can run the software off of the mounted Guest Additions CD image. Make the directory and then execute the mount command to mount it. Instead of running the software on the disc image when the prompt pops up, we will make a new directory to which we can mount the Guest Additions CD Image. Inserting the Guest Additions CD Image in VirtualBox Next, on the virtual machine window, click on Devices > Insert Guest Additions CD Image. $ sudo apt install build-essential dkms linux-headers-$(uname -r) Open a terminal and use your system’s package manager to install them with the following commands. The first thing we need to do is install a few prerequisite packages. The following steps will work for installing VirtualBox Guest Additions. If you’re using a Debian based Linux distro, such as Ubuntu, Linux Mint, Elementary OS, etc. Install VirtualBox Guest Additions on Debian Based distros $ – requires given linux commands to be executed as a regular non-privileged user # – requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command Privileged access to your Linux system as root or via the sudo command. Requirements, Conventions or Software Version UsedĪny Debian based or Red Hat based Linux distro Install VirtualBox Guest Additions on Linux guest Software Requirements and Linux Command Line Conventions Category
How to install VirtualBox Guest Addition on Red Hat based systems. How to install VirtualBox Guest Addition on Debian based systems.
This guide assumes that you’ve already installed your Linux operating system in the VM correctly. With these instructions, it doesn’t matter what host system you’re using, as long as the virtual machine is running Linux. In this guide, we’ll be going over the step by step instructions to get VirtualBox Guest Additions installed on Debian based and Red Hat based Linux systems. Guest Additions will work with just about any Linux distribution, but instrutions can differ because of dependencies and package managers.
It also changes the virutal machine’s resolution automatically when its window is resized, so you do not need to change it manually. This makes copying data to and from a host system much more convenient. VirtualBox Guest Additions will give the machine more capabilities, such as a shared clipboard with the host system, drag and drop file transfer, time synchronization, shared folders, automatic window resizing, and more. If you’re running Linux inside a VirtualBox virtual machine, installing the Guest Additions software will help you get the most out of the system.