Package Details: librealsense v2.44.0-1

Git Clone URL: (read-only, click to copy)
Package Base: librealsense
Description: Intel® RealSense™ SDK 2.0 is a cross-platform library for Intel® RealSense™ depth cameras (D400 series and the SR300) and the T265 tracking camera.
Upstream URL:
Keywords: intel realsense
Licenses: Apache
Submitter: yang
Maintainer: pingplug
Last Packager: pingplug
Votes: 7
Popularity: 0.121514
First Submitted: 2016-02-29 07:35
Last Updated: 2021-04-03 08:53

Latest Comments

dbermond commented on 2021-02-16 00:13

@pingplug Missing 'glu' on depends. Without glu installed, it will not even compile, giving this error: /usr/include/GLFW/glfw3.h:215:13: fatal error: GL/glu.h: No such file or directory

And namcap output shows that it's needed at runtime: librealsense E: Dependency glu detected and not included (libraries ['usr/lib/'] needed in files ['usr/bin/rs-trajectory'])

Please add 'glu' to depends.

wwwlea commented on 2020-10-14 08:21

Hi! I have this installed, and I get the following error message during boot: systemd-udevd[355]: /etc/udev/rules.d/99-realsense-libusb.rules:3 Unknown group 'plugdev', ignoring

Has anyone else experienced this?

m-pilia commented on 2019-12-18 12:43

Hi! It would be nice if the package had a .desktop file for the realsense-viewer tool. A possible patch is the following:

diff --git a/PKGBUILD b/PKGBUILD
index 68737d8..b82e0d3 100644
@@ -4,15 +4,19 @@
 _commit=bdce5a4ebbd716e9d7372ad8831a929bccccd0b2  # tags=v2.31.0
 pkgdesc="Intel® RealSense™ SDK 2.0 is a cross-platform library for Intel® RealSense™ depth cameras (D400 series and the SR300)"
-makedepends=('cmake' 'git')
+makedepends=('cmake' 'git' 'imagemagick')
 depends=('glfw-x11' 'gtk3' 'libusb')
+    "git+${_commit}"
+    "realsense-viewer.desktop"
+    )
+            '2459fb61e61a01a7661478a85918ee71e3d9871229c4d3701ea8c5f5b0171531')

 pkgver() {
   cd "${srcdir}/${pkgname}"
@@ -43,4 +47,14 @@ package() {
   DESTDIR="${pkgdir}" make install
   cd "${srcdir}/${pkgname}/config"
   install -Dm644 99-realsense-libusb.rules "${pkgdir}/etc/udev/rules.d/99-realsense-libusb.rules"
+  # Install realsense-viewer.desktop
+  install -Dm755 "${srcdir}/realsense-viewer.desktop" "${pkgdir}/usr/share/applications/realsense-viewer.desktop"
+  # Install icons for realsense-viewer.desktop
+  convert "${srcdir}/${pkgname}/tools/realsense-viewer/res/icon.ico" "${srcdir}/realsense-viewer.png"
+  find "${srcdir}" \
+      -maxdepth 1 \
+      -name 'realsense-viewer-*.png' \
+      -exec bash -c 'install -Dm644 "$0" "$1/usr/share/icons/hicolor/$(identify -format "%wx%h" $0)/apps/realsense-viewer.png"' {} "${pkgdir}" \;

and the content of the .desktop file:

[Desktop Entry]
Name=RealSense Viewer

marsmee commented on 2019-02-16 23:52

I currently use this package together with ROS (melodic) and I'm not quite sure if it was the hardware (D435), librealsense, or the realsense ROS-wrapper itself, but most, if not all, of its launch scripts crashed from time to time. Sometimes it helped to change the USB port, however, at some point the scripts always crashed.

[ERROR] [155...686]: An exception has been thrown: get_xu(...). xioctl(UVCIOC_CTRL_QUERY) failed Last Error: Device or resource busy
[FATAL] [155...196]: Failed to load nodelet '/camera/realsense2_camera' of type 'realsense2_camera/RealSenseNodeFactory' to manager 'realsense2_camera_manager'
... and so on ...

The problem could apparently be solved by passing -DFORCE_LIBUVC=true within the PKGBUILDs build() section. I will continue to use and test this configuration, and may report new findings here. What I can say so far is that the scripts start seemingly more reliable, although not every time.

Celti commented on 2018-10-30 00:04

Packages using git sources must have git in the makedepends. This does not build in a clean container.

pingplug commented on 2018-08-11 02:17

Updated to 2.0 versions

TrialnError commented on 2018-06-04 00:19

Thought about updating it, but refrained from doing so. Nothing for casual updating. But I want to note one thing. The sudo make install call in package() is an absolut no go.

Additionally the creation of the group should be moved from the install file. See (And adding the user to the group is a no go too)

nitrotm commented on 2017-10-31 14:48

It's a bad package design. The package() step should be:

make DESTDIR="${pkgdir}/" install

And not try to install the files directly in the system instead!

Poqudrof commented on 2016-08-23 08:51


Thanks for this package, there is a new version online:

This package does not include the libUVC module patch, I created a script
to patch the kernel and get the depth working.

Feel free to try it and integrate it !
Cheers, Jeremy.

rchiossi commented on 2016-03-14 13:02


Is there any reason why you install the lib to /usr/lib/librealsense/ instead of /usr/lib? If so, shouldn't you also set that path in /etc/ ?

The way it is right now, /usr/lib/librealsense needs to be manually set in the compiler and also LD_LIBRARY_PATH needs to be set to that directory in order for any binary to get executed.

It would also be nice to have pkgconfig for this.