Installation steps
1. First download the driver package through the terminal.
$ git clone https://github.com/IntelRealSense/librealsense
2. Go to the folder
$ CD librealsense/
3. Execution under Librealsense
$ sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade
$ sudo update-grub && sudo reboot
4. Installing libsub-1.0
$ sudo apt-get install Libusb-1.0-0-dev pkg-config
5. Installing GLFW3
$ sudo apt-get install Libglfw3-dev
6.Library build Process *librealsense* employs CMake as a cross-platform Build and project management system.
6.1 $mkdir Build && CD build '
6.2 $cmake.
6.3 $cmake. /-dbuild_examples=true
6.4 $make && sudo make install
Ps
Compile source code times in Ubuntu wrong: No package ' gtk+-3.0 ' found
Based on experience, it is certainly missing GTK-related library files.
Buntu command: sudo apt-get install Libgtk-3-dev
7. Install Video4linux (kernel driver for video devices in Linux) before installing make sure the camera is unplugged
7.1 sudo cp config/99-realsense-libusb.rules/etc/udev/ RULES.D
7.2 sudo udevadm control--reload-rules && udevadm trigger
7.3 sudo apt-get install Libssl-dev br> 7.4 in ubuntu16.04
./scripts/patch-realsense-ubuntu-xenial.sh
7.5 cd./scripts/'
7.6./patch-arch.sh
7.7 sudo dmesg | Tail-n
So that the driver is loaded and then how to run the demo
The library will is installed in '/usr/local/lib ', header files in ' /usr/local/include ' <br/>
The demos, tutorials and tests would located in '/usr/local/bin '.