Ask Your Question

how install virtualbox and the repository in fedora 26

asked 2017-07-15 21:39:32 -0500

christianbueno gravatar image

updated 2017-07-15 22:21:00 -0500

os: fedora 26
In uefi mode
Secure-boot disable

 peter  ~  uname -a
Linux localhost.localdomain 4.11.9-300.fc26.x8664 #1 SMP Wed Jul 5 16:21:56 UTC 2017 x8664 x8664 x8664 GNU/Linux
 peter  ~  
Hello, in the web of virtualbox say,
Users of Fedora can add the Fedora repo file to /etc/yum.repos.d/.
But is not for 26 yet
image description

 peter  ~  sudo dnf update
[sudo] password for peter: 
Failed to synchronize cache for repo 'virtualbox', disabling.

what is your recommendation in this case , thanks friends
if we only instal the rpm package(25/26) by gnome-software(software-install) , it won't get update? , thanks in advance.

edit retag flag offensive close merge delete


@christianbueno the VirtualBox repo is not available yet

hhlp gravatar imagehhlp ( 2017-07-16 06:52:12 -0500 )edit

6 Answers

Sort by » oldest newest most voted

answered 2017-07-16 07:23:31 -0500

tgreaser gravatar image

updated 2017-11-22 10:17:39 -0500

florian gravatar image

For a quick fix .. Things i have done in the past.. Just hard code the path in the repo.. to use previous revison. And to keep the system updated, when Oracle gets the build out of it just undo what you did and it will update with the 26 build .. Even if it dose not you can still manually pull down the rpms and do a dnf localinstall .. ymmv

#name=Fedora $releasever - $basearch - VirtualBox
edit flag offensive delete link more


ok, $releasever by 25

christianbueno gravatar imagechristianbueno ( 2017-07-16 22:49:48 -0500 )edit

answered 2017-07-16 00:29:20 -0500

villykruse gravatar image

VirtualBox for f26 is available on

If the version from Oracle is better, I wouldn't know.

edit flag offensive delete link more


ok, I did know, thanks

christianbueno gravatar imagechristianbueno ( 2017-07-16 08:32:04 -0500 )edit

answered 2017-07-16 23:02:38 -0500

christianbueno gravatar image

first save this virtualbox.repo file in /etc/yum.repos.d/ directory , you must change $releasever by 25 in that line



sudo dnf update

sudo dnf install VirtualBox-5.1

this guide is very useful

edit flag offensive delete link more

answered 2017-07-16 08:46:23 -0500

christianbueno gravatar image

updated 2017-07-16 08:48:42 -0500

If you do not have problem with updates you would install directly the rpm package available for f25/26, it automatically will open "gnome software center" then click in install and go.
image description
Once installed you can test its behaviour , I will use it with vagrant in a sql class.
image description

edit flag offensive delete link more


do you know if in the future is possible to add the repository file, or how should this be done?

christianbueno gravatar imagechristianbueno ( 2017-07-16 09:04:51 -0500 )edit

answered 2017-09-21 01:14:36 -0500

twinkle4toes gravatar image

Do you have to do something in the BIOS to get VirtualBox running. I downloaded and installed VirtualBox but it does appear in my search bar and i can't open it in the terminal. What could be the problem?

edit flag offensive delete link more


Where did you download it? How did you install it?

florian gravatar imageflorian ( 2017-11-22 10:11:57 -0500 )edit

answered 2018-11-09 15:03:32 -0500

Some virtualization applications require hardware virtualization to be enabled in the BIOS. I don't know if that's the cause of your problem, though.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2017-07-15 21:39:32 -0500

Seen: 8,722 times

Last updated: Nov 22 '17