Ask Your Question

Fedora 24 Scientific on VirtualBox problem guest additions

asked 2016-08-30 08:04:33 -0600

Hi, I just installed Fedora 24 Scientific on a VM in VirtualBox, seems to work fine. But when I try to install guest additions from Virtual Box I get error message and the additions do not get installed. The error message is related to missing "kernel headers" and "kernel devel". How should I install them? And why are they missing?

Jan Peter

edit retag flag offensive close merge delete


In a terminal : sudo dnf install kernel-devel kernel-headers

yolo gravatar imageyolo ( 2016-08-30 13:19:44 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2016-08-30 10:47:07 -0600

aeperezt gravatar image

Kernel-headers and Kernel-devel are packages needed to help compile kernel modules, they are needed because VirtualBox is not included on Fedora as it is not a Free Software as freedom. So the installation process basic compile the module. Be aware that in the next kernel update you may need to recompile that module again.

edit flag offensive delete link more


So how do I install kernel-header and kernel-devel then? I am stuck at the moment as you may understand. And how do I continue the installation process?

janpeter gravatar imagejanpeter ( 2016-08-30 13:18:01 -0600 )edit

simple sudo dnf install kernel-devel kernel-header on you terminal.

aeperezt gravatar imageaeperezt ( 2016-08-30 15:12:01 -0600 )edit

answered 2016-08-30 18:38:24 -0600

sergiomb gravatar image
edit flag offensive delete link more



Actually it helped to first do yum install kernel-devel-4.5.5-300.fc24.x86_64

then sudo dnf install kernel-revel kernel-headers

The first command was actually found in the error message after more careful reading.


janpeter gravatar imagejanpeter ( 2016-08-31 02:36:47 -0600 )edit

Question Tools

1 follower


Asked: 2016-08-30 08:04:33 -0600

Seen: 398 times

Last updated: Aug 30 '16