Install VirtualBox Guest Additions on CentOS 8.1

How to Install VirtualBox Guest Additions in CentOS 8.1

VirtualBox Guest additions is an additional software which we need to install after installing CentOS on virtualbox, because when we install centos on a virtual machine created with virtualbox it doesn’t allow us to view in full screen mode. As well as we cannot move our cursor in and out of that virtualbox easily. Every time we need to press ‘ctrl’ to move out our cursor from virtualbox. Virtualbox Guest additions solves these problems.

Guide to install CentOS 8.1 on VirtualBox

Learn More:

 

So here is a small guide to install VirtualBox Guest Additions in CentOS 8.1 . Follow the tutorial as stated below.

Run your CentOS virtual machine and open the Terminal.

centos 8.1

 

Before installing Guest Additions we need to install some dependencies.

First change user to root. Type “su” and enter your password:

su

Image 2 Install VirtualBox Guest Additions on CentOS 8.1

 

Now install  the following dependencies:

dnf install tar bzip2 kernel-devel-$(uname -r) kernel-headers perl gcc make elfutils-libelf-devel

Image 4 1 Install VirtualBox Guest Additions on CentOS 8.1

 

After installing the dependencies insert guest additions disk iso:

virtualbox guest additions

 

Now you will be prompted to run the application. You can install the application from here. I’ll show you the manual way to install this. To install the application manually “cancel” the prompt.

Image 5 Install VirtualBox Guest Additions on CentOS 8.1

 

Go to  VirtualBox Guest Additions Drive. Type the command. Change “username” to your username :

cd /run/media/username/VB*

And Install the Application by typing this command:

./VBoxLinuxAdditions.run

Image 6 Install VirtualBox Guest Additions on CentOS 8.1

 

 

It will finish installing Guest Additions .

Image 7 Install VirtualBox Guest Additions on CentOS 8.1

 

Now Reboot the server.

Image 8 Install VirtualBox Guest Additions on CentOS 8.1

 

You are all done !!

 

 

 

You may also like...

Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments