I couldn't install guest addition on virtual box version 5.2.12 error caused- This system is currently not set up to build kernel modules. Please install the gcc make perl packages from your distribution.
Asked
Active
Viewed 6.0k times
1 Answers
32
You can use the below command to install the packages in RHEL 7.
yum install gcc perl make
Virtual box is base for the RHEL, all packes should be installed in RHEL OS only. Hope you set the repository and your VM have access to internet

Naveen kumar
- 1,585
- 8
- 8
-
2It is work.i want install virtual guast additions but error arrise gcc make perl not installed. So it is very good for me. Thanks a lot... – Tanul Jun 11 '18 at 06:31
-
1But on Ubuntu the repo list is empty, how to get the repo list ? – Fred37b Nov 14 '18 at 20:26
-
5For UBUNTU sudo apt install gcc perl make – Bijaya Kumar Oli May 01 '20 at 15:50
-
12as Ubunto user i used: `sudo apt-get install gcc perl make` – SL5net Nov 21 '20 at 01:23