How install lastest version of virtualbox on Fedora 24/25 :
Note : consider : disabling secureboot on bios or changing option from windows uefi to other os (for some motherboard)
1- Install Fedora or RHEL Repo Files :
cd /etc/yum.repos.d/
wget http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo
2- Install dependency packages
dnf install binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel dkms
now 3- Install VirtualBox Latest Version
dnf install VirtualBox-5.0 (not virtualbox)
Rebuild kernel modules with following command : /usr/lib/virtualbox/vboxdrv.sh setup
then 4- Add VirtualBox User(s) to vboxusers Group
usermod -a -G vboxusers username
5- Start virtualbox : VirtualBox
Don't forget to Subscribe / like & share.
your suggestions are appreciated.