How to Install the Latest 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){alertwarning}

1- Install Fedora or RHEL Repo Files:
cd /etc/yum.repos.d/
wget http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo{codeBox}

2- Install dependency packages
dnf install binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel dkms{codeBox}

3- Now install the latest VirtualBox version
dnf install VirtualBox-5.0 (not virtualbox){codeBox}

4- Rebuild kernel modules with following command : 
/usr/lib/virtualbox/vboxdrv.sh setup{codeBox}

5- Then, add VirtualBox User(s) to vboxusers Group
usermod -a -G vboxusers username{codeBox}

6- Start virtualbox : VirtualBox

🗨 Your suggestions are appreciated.
Djalel Oukid

Science teacher, PhD student, Master degree in Microbial biotechnology , Microbiologist, designer, video editor, podcaster & blogger. linkedin portfolio github

Comments are welcomed and encouraged on this blog. Spam, abusive and off-topics comments will be deleted. Please read our Comments policy before commenting.

Post a Comment (0)
Previous Post Next Post
Blackview 5G Rugged Smartphone, 6.36 Inch, IP68 & IP69K & MIL-STD-810G, MediaTek Dimensity 800, 8GB+256GB, Sony® IMX582 48MP triple camera, 5280mAh