Install dependency

dnf install gcc make dkms kernel-devel-$(uname -r) kernel-headers -y

Download Repository VirtualBox

wget http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo -O /etc/yum.repos.d/virtualbox.repo 
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | rpm --import -
dnf install VirtualBox-5.1 -y

Install VirtualBox kernel module

/sbin/vboxconfig

Bila muncul error Makefile:185: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR= and run Make again. Stop., restart komputer anda lalu jalankan ulang

/sbin/vboxconfig

virtualbox 5.1 Fedora 24

Install VirtualBox Extension Pack

Agar anda bisa sharing clipboard, uSB 2.0, USB 3.0 antar host dan guest, VirtualBox Extension Pack harus di install terlebih dahulu, install dengan cara

wget http://download.virtualbox.org/virtualbox/5.1.2/Oracle_VM_VirtualBox_Extension_Pack-5.1.2-108956.vbox-extpack
vboxmanage extpack install Oracle_VM_VirtualBox_Extension_Pack-5.1.2-108956.vbox-extpack

Leave a comment

Your email address will not be published. Required fields are marked *