Ask Your Question

how install virtualbox and the repository in fedora 26

asked 2017-07-16 02:39:32 +0000

christianbueno gravatar image

updated 2017-07-16 03:21:00 +0000

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 ( 2017-07-16 11:52:12 +0000 )edit

5 answers

Sort by » oldest newest most voted

answered 2017-07-16 12:23:31 +0000

tgreaser gravatar image

updated 2017-11-22 16:17:39 +0000

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 ( 2017-07-17 03:49:48 +0000 )edit

answered 2017-07-16 05:29:20 +0000

villykruse gravatar image

VirtualBox for f26 is available on https://rpmfusion.org/Configuration

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

edit flag offensive delete link more


ok, I did know, thanks

christianbueno ( 2017-07-16 13:32:04 +0000 )edit

answered 2017-09-21 06:14:36 +0000

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 ( 2017-11-22 16:11:57 +0000 )edit

answered 2017-07-17 04:02:38 +0000

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 13:46:23 +0000

christianbueno gravatar image

updated 2017-07-16 13:48:42 +0000

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 ( 2017-07-16 14:04:51 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Question Tools

1 follower


Asked: 2017-07-16 02:39:32 +0000

Seen: 7,388 times

Last updated: Nov 22 '17