Last active
May 7, 2019 10:03
-
-
Save surajssd/01d0584f39dd534bf0f159589e1d759d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# ref: https://www.if-not-true-then-false.com/2010/install-virtualbox-with-yum-on-fedora-centos-red-hat-rhel/ | |
# ref: https://computingforgeeks.com/how-to-install-virtualbox-on-fedora-linux/ | |
cd /etc/yum.repos.d/ | |
curl -O https://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo | |
dnf update -y | |
dnf install -y binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel dkms | |
systemctl reboot | |
dnf install -y VirtualBox-6.0 | |
usermod -a -G vboxusers vagrant | |
echo "Run following command, after reboot:" | |
echo "/usr/lib/virtualbox/vboxdrv.sh setup" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Now run following https://raw.githubusercontent.com/surajssd/scripts/master/shell/post_machine_install/install-vbox.sh