|
Intel® RealSense™ Cross Platform API
Intel Realsense Cross-platform API
|
Intel® RealSense™ SDK 2.0 provides installation packages in dpkg format for Ubuntu 16 LTS*.
* The Realsense DKMS kernel drivers package (librealsense2-dkms) supports Ubuntu LTS kernels 4.4, 4.10 and 4.13.
To build the project from source, please follow steps described ./installation.md "here"
<br>It is recommended to backup/etc/apt/sources.list.d/realsense-public.list` file in case of an upgrade.sudo apt-key adv --keyserver keys.gnupg.net --recv-key 6F3EFCDE sudo apt-get update sudo apt-get install librealsense2-dkms sudo apt-get install librealsense2-utils realsense-viewer Developers shall install additional packages:
sudo apt-get install librealsense2-dev
sudo apt-get install librealsense2-dbg
With dev package installed, you can compile an application with librealsense using g++ -std=c++11 filename.cpp -lrealsense2 or an IDE of your choice.
Verify that the kernel is updated :
modinfo uvcvideo | grep "version:" should include realsense string
Important Removing Debian package is allowed only when no other installed packages directly refer to it. For example removing librealsense2-udev-rules requires librealsense2 to be removed first.
Remove a single package with:
sudo apt-get --purge <package-name>
Remove all RealSense™ SDK-related packages with:
dpkg -l | grep "realsense" | cut -d " " -f 3 | xargs sudo dpkg --purge
The packages and their respective content are listed below:
| Name | Content | Depends on |
|---|---|---|
| librealsense2-udev-rules | Configures RealSense device permissions on kernel level | - |
| librealsense2-dkms | DKMS package for Depth cameras-specific kernel extensions | librealsense2-udev-rules |
| librealsense2 | RealSense™ SDK runtime (.so) and configuration files | librealsense2-udev-rules |
| librealsense2-utils | Demos and tools available as a part of RealSense™ SDK | librealsense2 |
| librealsense2-dev | Header files and symbolic link for developers | librealsense2 |
| librealsense2-dbg | Debug symbols for developers | librealsense2 |
Note The packages include binaries and configuration files only. Use the github repository to obtain the source code.
1.8.14