aboutsummaryrefslogtreecommitdiffstats
path: root/ConfigurePermissionsAndPackages.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-06-19 17:03:28 +0200
committerSven Gothel <[email protected]>2014-06-19 17:03:28 +0200
commitd9a584844a60542519d813b5dc1a62428f14a0ae (patch)
tree942c10a5ebcd0aab65e9d6facb59778468f39d3b /ConfigurePermissionsAndPackages.sh
Add OculusSDK 0.3.2 Linux Source Code w/o Samples, docs or binaries (libs or tools)
Diffstat (limited to 'ConfigurePermissionsAndPackages.sh')
-rwxr-xr-xConfigurePermissionsAndPackages.sh51
1 files changed, 51 insertions, 0 deletions
diff --git a/ConfigurePermissionsAndPackages.sh b/ConfigurePermissionsAndPackages.sh
new file mode 100755
index 0000000..44f550b
--- /dev/null
+++ b/ConfigurePermissionsAndPackages.sh
@@ -0,0 +1,51 @@
+#!/bin/bash
+
+#############################################################################
+#
+# Filename : ConfigurePermissionsAndPackages.sh
+# Content : Linux file for installing prerequisite libraries and the
+# permissions file for the USB HID device
+# Created : 2013
+# Authors : Simon Hallam and Brant Lewis
+# Copyright : Copyright 2013 OculusVR, Inc. All Rights Reserved
+# Instruction : Ensure that the install.sh has execute permissions.
+# Navigate to a command shell, enter:
+#
+# ./install.sh
+#
+# Enter the administrator password for sudo access.
+#
+# Notes : UBUNTU 13 USERS
+# ---------------
+# The OculusConfigUtil does not currently support Ubuntu 13
+# out of the box. If you see an error similar to this upon
+# launching OculusConfigUtil:
+#
+# "error while loading shared libraries: libudev.so.0"
+#
+# Then please try the following solution, until we officially
+# support Ubuntu 13:
+#
+# cd /lib/x86_64-linux-gnu/
+# sudo ln -sf libudev.so.1 libudev.so.0
+#
+#############################################################################
+
+echo "Installing OculusVR Rift udev rules file..."
+sudo cp ./LibOVR/90-oculus.rules /lib/udev/rules.d
+echo "Installing libudev..."
+sudo apt-get install libudev-dev
+echo "Installing libxext..."
+sudo apt-get install libxext-dev
+echo "Installing mesa-common..."
+sudo apt-get install mesa-common-dev
+echo "Installing freeglut3..."
+sudo apt-get install freeglut3-dev
+echo "Installing Xinerama..."
+sudo apt-get install libxinerama-dev
+echo "Installing Xrandr..."
+sudo apt-get install libxrandr-dev
+echo "Installing XFree86"
+sudo apt-get install libxxf86vm-dev
+echo "Installation complete"
+