VirtualBox (installation on Fedora 14)

I was trying to install VirtualBox using the yumex Fedora tool (or yum) but I was getting dependencies errors. Moreover, it was as if it was not installed, whereas the executable was available. This may have been a previous version from Fedora 13… After a few trials, I’ve found this solution (see below for reference).

First, you need to get the proper repository (use your sudo or login as root user if needed):

cd /etc/yum.repos.d/
wget http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo

Install the DKMS package that would be useful to automatically update packages related to kernels in the future

yum install dkms

Depending on your kernel, you should also install the kernel packages for developments:


yum install gcc kernel-devel kernel-headers

or

yum install gcc kernel-PAE-devel kernel-headers

Of course, now it is time to install VirtualBox itself:

yum install VirtualBox-4.0

Launch VirtualBox. If you get an error like:


WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (2.6.35.11-83.fc14.i686.PAE) or it failed to
load. Please recompile the kernel module and install it by

sudo /etc/init.d/vboxdrv setup

You will not be able to start VMs until this problem is fixed.

it means that you do not have the proper kernel headers installed. If you installed DKMS package, do


yum update

Otherwise you need to use your package manager to install the proper kernel-devel version. Once done type:

sudo /etc/init.d/vboxdrv setup

VirtualBox should work now.

Depending on your system, the previous command should create automatically vboxusers group and VirtualBox user. So you need to add any **user_name** in this group.

usermod -a -G vboxusers user_name

references: www.if-not-tru-then-false.com

Please follow and like us:
This entry was posted in Computer Science and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *