2015-03-28 11:58:41 +00:00
|
|
|
#!/bin/bash
|
2016-02-14 08:42:44 +00:00
|
|
|
set -e
|
2015-08-01 20:05:20 +01:00
|
|
|
FEDORA_VERSION=`rpm -E %fedora`
|
|
|
|
sudo dnf install -y libbsd-devel libbsd glibc-devel libX11-devel help2man autoconf git tar glib2 glib2-devel kernel-devel kernel-headers automake gcc gtk2-devel
|
2016-02-14 08:42:44 +00:00
|
|
|
sudo dnf install -y VirtualGL VirtualGL.i686 --best --allowerasing
|
2015-08-01 20:05:20 +01:00
|
|
|
sudo dnf install -y http://install.linux.ncsu.edu/pub/yum/itecs/public/bumblebee/fedora$FEDORA_VERSION/noarch/bumblebee-release-1.2-1.noarch.rpm
|
|
|
|
sudo dnf install -y http://install.linux.ncsu.edu/pub/yum/itecs/public/bumblebee-nonfree/fedora$FEDORA_VERSION/noarch/bumblebee-nonfree-release-1.2-1.noarch.rpm
|
2016-02-14 08:42:44 +00:00
|
|
|
sudo dnf install -y bumblebee-nvidia bbswitch-dkms primus primus.i686 --best --allowerasing
|
2015-08-01 20:05:20 +01:00
|
|
|
sudo systemctl enable bumblebeed.service
|
|
|
|
sudo systemctl start bumblebeed.service
|
2015-03-28 11:58:41 +00:00
|
|
|
|