How To Install python3-librealsense on Fedora 36

In this tutorial we learn how to install python3-librealsense in Fedora 36. python3-librealsense is Python bindings for librealsense

Introduction

In this tutorial we learn how to install python3-librealsense on Fedora 36.

What is python3-librealsense

The python3-librealsense package contains python bindings for librealsense.

We can use yum or dnf to install python3-librealsense on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-librealsense.

Install python3-librealsense on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install python3-librealsense using dnf by running the following command:

sudo dnf -y install python3-librealsense

Install python3-librealsense on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install python3-librealsense using yum by running the following command:

sudo yum -y install python3-librealsense

How To Uninstall python3-librealsense on Fedora 36

To uninstall only the python3-librealsense package we can use the following command:

sudo dnf remove python3-librealsense

python3-librealsense Package Contents on Fedora 36

---
title: "How To Install python3-librealsense on Fedora 36"
linkTitle: "python3-librealsense"
type: "docs"
description: "In this tutorial we learn how to install python3-librealsense in Fedora 36. python3-librealsense is Python bindings for librealsense"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/python3-librealsense-featured.png
---

## Introduction

In this tutorial we learn how to install `python3-librealsense` on Fedora 36.

### What is `python3-librealsense`

> The python3-librealsense package contains python bindings for librealsense.  

We can use `yum` or `dnf` to install `python3-librealsense` on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-librealsense.

## Install python3-librealsense on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
sudo dnf makecache --refresh

After updating yum database, We can install python3-librealsense using dnf by running the following command:

sudo dnf -y install python3-librealsense

Install python3-librealsense on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

/usr/lib/.build-id /usr/lib/.build-id/72 /usr/lib/.build-id/72/ea5d1421445a97d205daa40530f0982abf1889 /usr/lib/.build-id/a7 /usr/lib/.build-id/a7/87ef756cade76367ff1499c7995a3ad3059176 /usr/lib/python3.10/site-packages/pyrealsense2 /usr/lib/python3.10/site-packages/pyrealsense2/pybackend2.cpython-310-i386-linux-gnu.so.2 /usr/lib/python3.10/site-packages/pyrealsense2/pybackend2.cpython-310-i386-linux-gnu.so.2.40.0 /usr/lib/python3.10/site-packages/pyrealsense2/pyrealsense2.cpython-310-i386-linux-gnu.so.2.40 /usr/lib/python3.10/site-packages/pyrealsense2/pyrealsense2.cpython-310-i386-linux-gnu.so.2.40.0

After updating yum database, We can install python3-librealsense using yum by running the following command:

sudo yum -y install python3-librealsense

## How To Uninstall python3-librealsense on Fedora 36
## References


To uninstall only the `python3-librealsense` package we can use the following command:
* [python3-librealsense website](https://github.com/IntelRealSense/librealsense)


```bash
## Summary
sudo dnf remove python3-librealsense

python3-librealsense Package Contents on Fedora 36

In this tutorial we learn how to install python3-librealsense on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).

/usr/lib/.build-id
/usr/lib/.build-id/35
/usr/lib/.build-id/35/329abf49f75d50072a640fa12883bd6862d4a6
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/d3570324c642e9b312d91705b73ce88c7f921a
/usr/lib64/python3.10/site-packages/pyrealsense2
/usr/lib64/python3.10/site-packages/pyrealsense2/pybackend2.cpython-310-x86_64-linux-gnu.so.2
/usr/lib64/python3.10/site-packages/pyrealsense2/pybackend2.cpython-310-x86_64-linux-gnu.so.2.40.0
/usr/lib64/python3.10/site-packages/pyrealsense2/pyrealsense2.cpython-310-x86_64-linux-gnu.so.2.40
/usr/lib64/python3.10/site-packages/pyrealsense2/pyrealsense2.cpython-310-x86_64-linux-gnu.so.2.40.0

References

Summary

In this tutorial we learn how to install python3-librealsense on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).