Ubuntu 22.04 LTS
https://github.com/IntelRealSense/librealsense/blob/master/doc/distribution_linux.md
위에꺼 따라하다가 add-apt-repository
부분을 아래대로 바꿔 준다.
$ sudo add-apt-repository "deb https://librealsense.intel.com/Debian/apt-repo $(lsb_release -cs) main" -u
$ sudo add-apt-repository "deb https://librealsense.intel.com/Debian/apt-repo focal main" -u
그 다음 sudo apt update
를 하기전 아래 명령어를 실행한다.
$ sudo apt-key export 6F3EFCDE | sudo gpg --dearmour -o /etc/apt/trusted.gpg.d/realsense.gpg
$ sudo apt update
libssl1.1
을 설치한다
echo "deb http://security.ubuntu.com/ubuntu impish-security main" | sudo tee /etc/apt/sources.list.d/impish-security.list
sudo apt-get update
sudo apt-get install libssl1.1
Install the libraries (see section below if upgrading packages):
sudo apt-get install librealsense2-dkms
sudo apt-get install librealsense2-utils
The above two lines will deploy librealsense2 udev rules, build and activate kernel modules, runtime library and executable demos and tools.
Optionally install the developer and debug packages:
sudo apt-get install librealsense2-dev
sudo apt-get install librealsense2-dbg