Guest Additions – Installing VirtualBox Guest Additions in Fedora 26, CentOS/RHEL 7

Oracle VM VirtualBox is an open-source hypervisor for X86 systems. Here’s a quick tutorial for installing VirtualBox Guest Additions in CentOS/ Fedora systems.

pre_guestadd_install
Before installing VirtualBox Guest Additions in Fedora 26

Type/ paste following commands in terminal emulator.

1. Check for system updates and install latest updates.

On Fedora 22 and later.

sudo dnf update -y

On CentOS 7 or Fedora 21 and previous versions.

sudo yum update -y

2. Update kernel and restart

On Fedora 22 and later.

sudo dnf update kernel* -y && sudo reboot

On CentOS 7 or Fedora 21 and previous versions.

sudo yum update kernel* -y && sudo reboot

3. Install packages necessary for installing Guest Additions

On Fedora 22 and later.
sudo dnf install gcc kernel-devel kernel-headers dkms make bzip2 perl -y
On CentOS 7 or Fedora 21 and previous versions.
sudo dnf install gcc kernel-devel kernel-headers dkms make bzip2 perl -y

4. Insert Guest Additions CD image

Click Devices menu, then click on Insert Guest Additions CD image. You might get a prompt to directly run Guest Additions as shown below.

additions_prompt
Virtual Box Guest Additions installation prompt.

Click Run.

password_prompt
Password prompt for installing Guest Additions

After that step a new window will appear asking for user password.  Enter password and press Authenticate. VirtualBox Guest additions will be installed successfully.

Or if you want to install Guest Additions via terminal change to directory and type

sudo bash VBoxLinuxAdditions.run

After installing VirtualBox Guest additions, restart system. Guest Additions should be installed.

Guest_additions
After installing Guest Additions

I hope this tutorial has helped you install VirtualBox Guest additions in Fedora Linux.

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s