Ask Your Question

Fedora 21: Virtualbox repos available?

asked 2015-01-09 10:41:48 -0500

florian gravatar image

updated 2015-02-12 17:02:16 -0500


I just upgraded and I had to disable the virtualbox repos due to unavailability for Fedora21.

Is there a workaround out there?


UPDATE (2/11/2015): Oracle has released Virtualbox repos for F21 on their website.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2015-01-14 00:55:00 -0500

cgonz31 gravatar image

updated 2015-01-14 08:51:13 -0500

I am running VirtualBox from the Oracle RPM repo in Fedora 21 Workstation (64-bit).

All I did was to hard code the F20 repo in the Oracle repo file. Not the best solution but until there's an F21 repo, this will work.

On your VirtualBox repo file (/etc/yum.repos.d/virtualbox.repo) change the following:

name=Fedora $releasever - $basearch - VirtualBox

Change all instances $releasever to 20. If you don't have the repo file, download it here:

edit flag offensive delete link more


Yes, this will work, but be careful to keep a backup of your original virtualbox.repo file so you can restore it easily when the F21 repo becomes available. And test your install - there should be no problems encountered but there's always that (very slim) chance that the binaries built will diverge at some point as this is for a different version of Fedora.

cobra gravatar imagecobra ( 2015-01-14 05:55:33 -0500 )edit

It works thus far. Hopefully, a dedicated F21 version and repo is released soon.

cgonz31 gravatar imagecgonz31 ( 2015-01-14 08:50:23 -0500 )edit

@cgonz31: I don't think that there will a dedicated version of Virtualbox for Fedora21. All they do is to adapt there download directory and release a corresponding .repo file. Check to see that the binary rpm file of Virtualbox is the same for Fedora 18, 19, and 20.

florian gravatar imageflorian ( 2015-01-14 10:33:31 -0500 )edit

Well, since the same binary file has worked since F18 then we should not expect any problems with using this binary built on F21, right? I have not experienced any issues thus far.

cgonz31 gravatar imagecgonz31 ( 2015-01-14 13:36:15 -0500 )edit

Yes, it's probably safe to assume that all is fine. It's a useful solution if you can't or don't want to use the rpmfusion repository. Thing is they'd end up changing things just when you lease expect it. Sod's law is that...

cobra gravatar imagecobra ( 2015-01-14 14:40:28 -0500 )edit

answered 2015-01-09 10:57:57 -0500

cobra gravatar image

It's available through . That's the version that I use in F21.

edit flag offensive delete link more


The difference is that it exists. The reason you can't use the Oracle repository is that there isn't one for Fedora 21.

I remember reading a while ago (for F20, or maybe 19) that the USB support is crippled unless you use the official Oracle repo, but there seem to be tools you can install that are supposed to enable it. I've never got it to work, though.

cobra gravatar imagecobra ( 2015-01-09 17:01:14 -0500 )edit

Oracle VirtualBox contains proprietary stuff which can't be shipped by Fedora or other Linux distros. It also has Guest Additions pre-packaged. . Oracle will release a Fedora 21 at some point of time in future.

sudhirkhanger gravatar imagesudhirkhanger ( 2015-01-10 01:28:01 -0500 )edit

I get this issue trying to install from rpmfusion, please advise: Error: Package: kmod-VirtualBox-3.17.7-300.fc21.x86_64-4.3.20-2.fc21.2.x86_64 (rpmfusion-free-updates) Requires: kernel-uname-r = 3.17.7-300.fc21.x86_64 Installed: kernel-core-3.17.4-301.fc21.x86_64 (@koji-override-0/$releasever)

Mike__B gravatar imageMike__B ( 2015-01-14 01:17:32 -0500 )edit

@Mike__B: You might want to post this as a new question...

florian gravatar imageflorian ( 2015-01-14 10:35:30 -0500 )edit

Question Tools



Asked: 2015-01-09 10:41:48 -0500

Seen: 2,394 times

Last updated: Feb 12 '15