安装环境
OS: Ubuntu 18.04 bionic
Kernel: x86_64 Linux 4.15.0-20-generic
测试通过了vmware station开启的虚拟机ubuntu18.04
安装Realsense SDK
参考https://github.com/IntelRealSense/librealsense/blob/master/doc/distribution_linux.md
以前的Librealsense需要编译进行安装,但是对于Ubuntu LTS kernels 4.4, 4.8, 4.10, 4.13, 4.15, 4.18* 5.0* 5.3*可以使用apt 直接进行安装。
建议使用科学上网进行安装,否则会下载很慢
1 | 注册public key |
验证是否安装成功
重新连接RealSense相机并运行realsense-viewer
去验证是否安装成功
升级librealsense
1 | sudo apt-get update |
卸载librealsense
1 | 卸载所有的realsense相关的安装包 |
相关安装包的内容和依赖
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 |
可以按照需求进行安装