Skip to content

Instantly share code, notes, and snippets.

@surajssd
Last active May 7, 2019 10:03
Show Gist options
  • Save surajssd/01d0584f39dd534bf0f159589e1d759d to your computer and use it in GitHub Desktop.
Save surajssd/01d0584f39dd534bf0f159589e1d759d to your computer and use it in GitHub Desktop.
#!/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"
@surajssd
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment