How to Install Guest Additions VirtualBox Ubuntu
If you have just installed Ubuntu in your virtual box, but the resolutions and so many other things doesn’t work, then you are not alone. In this article you will learn How to Install Guest Additions VirtualBox Ubuntu step by step.
Now be clarify some stuff, you need to have VirtualBox installed on your Windows Machine, and you also need to have VM VirtualBox Extension Pack to be installed. If you don’t know how to do that, or you have not installed Ubuntu on VirtualBox, then you have check out our article on How to install Ubuntu in Virtual Box. Once that is done, the next step is installing Ubuntu Guest Additions.
So, let’s see How to Install Guest Additions VirtualBox Ubuntu
Okay, we are here so lets get started, i assume that you have your Ubuntu VirtualBox running. If you do, you would see something like this.
Step 1: Update & Upgrade your Ubuntu Machine
First thing as soon as you install a fresh install on Ubuntu, the first thing you do is update it. This make sure that all the packages are up-to-date while performing a new application install.
To update Ubuntu you can type in the command in terminal:
sudo apt update
sudo apt full-upgrade -y
This will update Ubuntu with latest updates.
Step 2: Install Guest Addition via VirtualBox
There is this easy way, where you can go to devices > insert guest additions CD image and you will see the following.
Once you click on the insert guest additions button, you will see a run popup message like this.
Click on the Run button, you will get a Popup to verify the installation with your password like this.
Enter your password and click Authenticate. You will get a message, Please install the gcc perl packages from your distribution message, see below image.
Now in order to fix this type in the command in a new terminal tab.
sudo apt-get install build-essential gcc make perl dkms
You will get the following message:
Type Y to verify and install. This will install GCC and Perl in your Ubuntu distribution. Once done reboot the VirtualBox. After the reboot, you will have successfully Installed Guest Additions.