- Lubos Rendek
The objective is to install VirtualBox Guest Additions on CentOS 7 Linux
Operating System and Software Versions
- Operating System: - CentOS Linux release 7.5.1804 (Core)
Privileged access to your Ubuntu System as root or via
command is required.
- # - requires given linux commands to be executed with root privileges either directly as a root user or by use of
- $ - given linux commands to be executed as a regular non-privileged user
First step is to install all prerequisites. Let's start by enabling the EPEL repository:
$ sudo rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
Next, execute the bellow linux command
to install all prerequsites:
$ sudo yum install perl gcc dkms kernel-devel kernel-headers make bzip2
Confirm that kernel-headers installed are matching your currently running kernel:
$ ls -l /usr/src/kernels/$(uname -r)
The above command should produce a list of kernel header files.
SUBSCRIBE TO NEWSLETTER
Subscribe to Linux Career NEWSLETTER and receive latest Linux news, jobs, career advice and tutorials.
Install VirtualBox Guest Additions
On your Virtualbox window navigate to
Devices-->Insert Guest Additions CD image...
Run to start the Guest Additions installation.
Enter your administrative password.
VirtualBox Guest Additions on CentOS 7 Linux
All done. Reboot your system.