Ask Your Question

Best way to install VirtualBox

asked 2015-05-14 19:52:37 -0500

blavoie gravatar image


I'm looking forward to install VirtualBox on my Fedora 21 setup.

There is many way to get it:

  • manually and directly installing standalone RPM from website
  • from oracle supplied repository
  • from rpm fusion repository

I'm already running VirtualBox under Windows and work fine. Under Linux, I want it to be stable and working flawlessly across system updates : major versions changes and especially the kernel updates.

On my old laptop, I was using a kernel module for wireless driver from RPM Fusion. A lot of time, when the kernel was updated, the corresponding module version wasn't present rapidly for the new kernel version. Also, I've read somewhere that RPM Fusion is not always keeping up with major updates and kernel updates. With VBox from RPM Fusion using a kernel module (kmod-VirtualBox-3.19.............) I think that this could happen to and break my VBox installation for some time after kernel updates. Not funny to select a specific kernel on reboot.

Anyone using RPM Fusion got this kind of problem with VBox? Is this could happen with Oracle supplied repository? Then, is it better to simply install the standalone RPM, that works across updates (other than simply recompiling kernel modules)?

Another fact: I'm under Sercure Boot, but I'm willing to sign module with some howtos that I've found on the net: here here

Any suggestion and advice greatly appreciated. Bruno

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2015-05-18 12:55:28 -0500

sergiomb gravatar image

updated 2015-05-28 07:57:15 -0500

As maintainer of VirtualBox on RPMFusion I'm suspect :) but enable rpmfusion-free repos ( )

yum install VirtualBox kmod-VirtualBox-$(uname -r)


systemctl restart systemd-modules-load

Unfortunately we don't sign kernel modules . But is available some documentation to know how could be done .

UPDATE 2014-05-28, here seems we have a good answer :

edit flag offensive delete link more


As stated by Florian, this way isn't giving me the Extension Pack? Is that true? No lagging problems when udpating kernel?

blavoie gravatar imageblavoie ( 2015-05-19 19:50:53 -0500 )edit

no , if you check for updates (help > check for updates ) it will update Extension Pack . you will need root password to install it. If you don't have install Extension Pack , go to click on "VirtualBox 4.3.28 Oracle VM VirtualBox Extension Pack All supported platforms " And should be ask to open with VirtualBox , and follow the instructions to install it with just a few clicks

sergiomb gravatar imagesergiomb ( 2015-05-21 09:24:33 -0500 )edit

thanks for the update, I,ve already signed the kernel module by myself with reference links posted in my original post. :) VBox works like a charm now.

blavoie gravatar imageblavoie ( 2015-05-28 08:10:03 -0500 )edit

answered 2015-05-19 00:41:01 -0500

Tiger gravatar image

sudo yum install virt-manager

edit flag offensive delete link more


I know! Since I'm on Linux on this computer, I prefer to use this way. But, I downloaded a prebuilt VM that is intended to run with VirtualBox. Sometime, I'll create/export templates for running under Windows Virtual Box too. I have some cases of two way templating (Windows <-> Linux)

blavoie gravatar imageblavoie ( 2015-05-19 19:49:18 -0500 )edit

works too!

florian gravatar imageflorian ( 2015-05-19 19:57:09 -0500 )edit

answered 2015-05-14 21:21:28 -0500

florian gravatar image

updated 2015-05-14 21:27:08 -0500

I just want to make you aware that the version from Oracle's repo is different from the one in rpmfusion: Oracle provides binaries under a PUEL license and they include the Extension Pack. The one from rpmfusion is without the Extension Pack, licensed under GPL2.

If you ask me, the most convenient is using the binaries provided in Oracle's repo. (I'm using it since Fedora 18, and never had any problems).

Quote from Oracle's install guide: "Note: Users of Fedora/Mandriva might want to install the dkms package (not available on openSUSE) to ensure that the VirtualBox host kernel modules (vboxdrv, vboxnetflt and vboxnetadp) are properly updated if the linux kernel version changes during the next kernel update." <-- You want that: sudo yum install dkms.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-05-14 19:52:37 -0500

Seen: 4,779 times

Last updated: May 28 '15