共计 1467 个字符,预计需要花费 4 分钟才能阅读完成。
装置环境
OS: Ubuntu 18.04 bionic
Kernel: x86_64 Linux 4.15.0-20-generic
测试通过了 vmware station 开启的虚拟机 ubuntu18.04
装置 Realsense SDK
参考 https://github.com/IntelRealS…\_linux.md
以前的 Librealsense 须要编译进行装置, 然而对于 Ubuntu LTS kernels 4.4, 4.8, 4.10, 4.13, 4.15, 4.18* 5.0* 5.3* 能够应用 apt 间接进行装置。
倡议应用迷信上网进行装置,否则会下载很慢
# 注册 public key
sudo apt-key adv --keyserver keys.gnupg.net --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE || sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE
# 增加 apt repository
sudo add-apt-repository "deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo bionic main" -u
# ubuntu 16 能够换为
# sudo add-apt-repository "deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo xenial main" -u
# 装置 librealsense
sudo apt-get install librealsense2-dkms
sudo apt-get install librealsense2-utils
验证是否装置胜利
从新连贯 RealSense 相机并运行 realsense-viewer
去验证是否装置胜利
降级 librealsense
sudo apt-get update
sudo apt-get upgrade
卸载 librealsense
# 卸载所有的 realsense 相干的安装包
dpkg -l | grep "realsense" | cut -d " " -f 3 | xargs sudo dpkg --purge
相干安装包的内容和依赖
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 |
能够依照需要进行装置
正文完