Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Remove any VirtualBox packages you've installed.

Remove any VirtualBox repos in: /etc/yum.repos.d/.

Add the VirtualBox.repo file to /etc/yum.repos.d:

sudo tee -a /etc/yum.repos.d/VirtualBox.repo <<'__HERE__'
[virtualbox]
name=Fedora $releasever - $basearch - VirtualBox
baseurl=http://download.virtualbox.org/virtualbox/rpm/fedora/$releasever/$basearch
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://www.virtualbox.org/download/oracle_vbox.asc
__HERE__

Clean and refresh your dnf repo cache:

sudo dnf clean all
sudo dnf update

Install latest VirtualBox package (Make sure to accept the GPG key, you should be asked):

sudo dnf install VirtualBox-5.1-5.1.28_117968_fedora25-1.x86_64

Finally, download and install the VirtualBox Extension Pack:

VirtualBox Downloads

Link:

http://download.virtualbox.org/virtualbox/5.1.28/Oracle_VM_VirtualBox_Extension_Pack-5.1.28-117968.vbox-extpack

Remove any VirtualBox packages you've installed.

Remove any VirtualBox repos in: /etc/yum.repos.d/.

Add the VirtualBox.repo file to /etc/yum.repos.d:

sudo tee -a /etc/yum.repos.d/VirtualBox.repo <<'__HERE__'
[virtualbox]
name=Fedora $releasever - $basearch - VirtualBox
baseurl=http://download.virtualbox.org/virtualbox/rpm/fedora/$releasever/$basearch
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://www.virtualbox.org/download/oracle_vbox.asc
__HERE__

Clean and refresh your dnf repo cache:

sudo dnf clean all
sudo dnf update

Install latest VirtualBox package (Make sure to accept the GPG key, you should be asked):

sudo dnf install VirtualBox-5.1-5.1.28_117968_fedora25-1.x86_64

Finally, download and install the VirtualBox Extension Pack:

VirtualBox Downloads

Link: Direct Link

http://download.virtualbox.org/virtualbox/5.1.28/Oracle_VM_VirtualBox_Extension_Pack-5.1.28-117968.vbox-extpack

Remove any VirtualBox packages you've installed.

Remove any VirtualBox repos in: /etc/yum.repos.d/.

Add the VirtualBox.repo file to /etc/yum.repos.d:

sudo tee -a /etc/yum.repos.d/VirtualBox.repo <<'__HERE__'
[virtualbox]
name=Fedora $releasever - $basearch - VirtualBox
baseurl=http://download.virtualbox.org/virtualbox/rpm/fedora/$releasever/$basearch
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://www.virtualbox.org/download/oracle_vbox.asc
__HERE__

Clean and refresh your dnf repo cache:

sudo dnf clean all
sudo dnf update

Install the latest VirtualBox package (Make sure to accept the GPG key, you should be asked):

sudo dnf install VirtualBox-5.1-5.1.28_117968_fedora25-1.x86_64

Finally, download and install the VirtualBox Extension Pack:

Important: Please install the extension pack with the same version as your installed version of VirtualBox

VirtualBox Downloads

Direct Link