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