yum -> dnf , enabled bumblebeed service

This commit is contained in:
Cyryl Plotnicki-Chudyk 2015-08-01 21:05:20 +02:00
parent d6cc6d43ff
commit fddb8fb486

View file

@ -1,9 +1,12 @@
#!/bin/bash
sudo yum install -y libbsd-devel libbsd glibc-devel libX11-devel help2man autoconf git tar glib2 glib2-devel kernel-devel kernel-headers automake gcc gtk2-devel
sudo yum install -y VirtualGL VirtualGL.i686
sudo yum install -y http://install.linux.ncsu.edu/pub/yum/itecs/public/bumblebee/fedora21/noarch/bumblebee-release-1.2-1.noarch.rpm
sudo yum install -y bbswitch bumblebee
sudo yum install -y http://install.linux.ncsu.edu/pub/yum/itecs/public/bumblebee-nonfree/fedora21/noarch/bumblebee-nonfree-release-1.2-1.noarch.rpm
sudo yum install -y bumblebee-nvidia
sudo yum install -y primus primus.i686
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
sudo dnf install -y VirtualGL VirtualGL.i686
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 bbswitch bumblebee
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
sudo dnf install -y bumblebee-nvidia
sudo dnf install -y primus primus.i686
sudo systemctl enable bumblebeed.service
sudo systemctl start bumblebeed.service