ovr_sdk

view ConfigureDebian.sh @ 0:1b39a1b46319

initial 0.4.4
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 14 Jan 2015 06:51:16 +0200
parents
children
line source
1 #!/bin/bash
3 #############################################################################
4 #
5 # Filename : ConfigurePermissionsAndPackages.sh
6 # Content : Linux file for installing prerequisite libraries and the
7 # permissions file for the USB HID device
8 # Created : 2013
9 # Authors : Simon Hallam and Brant Lewis
10 # Copyright : Copyright 2013 OculusVR, Inc. All Rights Reserved
11 # Instruction : Ensure that the install.sh has execute permissions.
12 # Navigate to a command shell, enter:
13 #
14 # ./install.sh
15 #
16 # Enter the administrator password for sudo access.
17 #
18 # Notes : UBUNTU 13 USERS
19 # ---------------
20 # The OculusConfigUtil does not currently support Ubuntu 13
21 # out of the box. If you see an error similar to this upon
22 # launching OculusConfigUtil:
23 #
24 # "error while loading shared libraries: libudev.so.0"
25 #
26 # Then please try the following solution, until we officially
27 # support Ubuntu 13:
28 #
29 # cd /lib/x86_64-linux-gnu/
30 # sudo ln -sf libudev.so.1 libudev.so.0
31 #
32 #############################################################################
34 echo "Installing OculusVR Rift udev rules file..."
35 sudo cp ./LibOVR/90-oculus.rules /lib/udev/rules.d
36 echo "Installing libudev..."
37 sudo apt-get install libudev-dev
38 echo "Installing libxext..."
39 sudo apt-get install libxext-dev
40 echo "Installing mesa-common..."
41 sudo apt-get install mesa-common-dev
42 echo "Installing freeglut3..."
43 sudo apt-get install freeglut3-dev
44 echo "Installing Xrandr..."
45 sudo apt-get install libxrandr-dev
46 echo "Installing uuid"
47 sudo apt-get install uuid-dev
48 echo "Installation complete"