nuclear@0: #!/bin/bash nuclear@0: nuclear@0: ############################################################################# nuclear@0: # nuclear@0: # Filename : ConfigurePermissionsAndPackages.sh nuclear@0: # Content : Linux file for installing prerequisite libraries and the nuclear@0: # permissions file for the USB HID device nuclear@0: # Created : 2013 nuclear@0: # Authors : Simon Hallam and Brant Lewis nuclear@0: # Copyright : Copyright 2013 OculusVR, Inc. All Rights Reserved nuclear@0: # Instruction : Ensure that the install.sh has execute permissions. nuclear@0: # Navigate to a command shell, enter: nuclear@0: # nuclear@0: # ./install.sh nuclear@0: # nuclear@0: # Enter the administrator password for sudo access. nuclear@0: # nuclear@0: # Notes : UBUNTU 13 USERS nuclear@0: # --------------- nuclear@0: # The OculusConfigUtil does not currently support Ubuntu 13 nuclear@0: # out of the box. If you see an error similar to this upon nuclear@0: # launching OculusConfigUtil: nuclear@0: # nuclear@0: # "error while loading shared libraries: libudev.so.0" nuclear@0: # nuclear@0: # Then please try the following solution, until we officially nuclear@0: # support Ubuntu 13: nuclear@0: # nuclear@0: # cd /lib/x86_64-linux-gnu/ nuclear@0: # sudo ln -sf libudev.so.1 libudev.so.0 nuclear@0: # nuclear@0: ############################################################################# nuclear@0: nuclear@0: echo "Installing OculusVR Rift udev rules file..." nuclear@0: sudo cp ./LibOVR/90-oculus.rules /lib/udev/rules.d nuclear@0: echo "Installing libudev..." nuclear@0: sudo apt-get install libudev-dev nuclear@0: echo "Installing libxext..." nuclear@0: sudo apt-get install libxext-dev nuclear@0: echo "Installing mesa-common..." nuclear@0: sudo apt-get install mesa-common-dev nuclear@0: echo "Installing freeglut3..." nuclear@0: sudo apt-get install freeglut3-dev nuclear@0: echo "Installing Xrandr..." nuclear@0: sudo apt-get install libxrandr-dev nuclear@0: echo "Installing uuid" nuclear@0: sudo apt-get install uuid-dev nuclear@0: echo "Installation complete" nuclear@0: