When you first install a Linux virtual machine using VirtualBox, you might find the experience sub-par. VirtualBox Guest Additions enhance your VM experience by introducing new features such as a shared clipboard, drag-and-drop file sharing, and adaptive display scaling support.
However, knowing that you need to add Guest Additions to your virtual machines is not as obvious as it should be. Installing VirtualBox Guest Additions on your Linux machine is simple, whether you’re running Ubuntu, Fedora, or another Linux distribution. We have mentioned steps below to Install VirtualBox Guest Additions on Linux
Steps to Install VirtualBox Guest Additions on Linux
uname -a
sudo apt-get -y install dkms build-essential linux-headers-VERSION
sudo reboot
sudo mkdir /mnt/cdromsudo mount /dev/cdrom /mnt/cdromcd /mnt/cdromsudo sh ./VBoxLinuxAdditions.run –nox11
Final Words
We hope like our article on how to Install VirtualBox Guest Additions on Linux. Virtual machines (VMs) have become a staple of the data cente and with good reason. With virtual machines, you can run as many servers as your host hardware allows. Even if you have some pretty beefy hardware, you want to get as much performance out of those VMs as possible, which is why performance should always be considered when creating a new VM.