How To Install libgpiod-c++ on Fedora 36

In this tutorial we learn how to install libgpiod-c++ in Fedora 36. libgpiod-c++ is C++ bindings for libgpiod

Introduction

In this tutorial we learn how to install libgpiod-c++ on Fedora 36.

What is libgpiod-c++

C++ bindings for use with libgpiod.

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

Install libgpiod-c++ 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 libgpiod-c++ using dnf by running the following command:

sudo dnf -y install libgpiod-c++

Install libgpiod-c++ 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 libgpiod-c++ using yum by running the following command:

sudo yum -y install libgpiod-c++

How To Uninstall libgpiod-c++ on Fedora 36

To uninstall only the libgpiod-c++ package we can use the following command:

sudo dnf remove libgpiod-c++

libgpiod-c++ Package Contents on Fedora 36

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

## Introduction

In this tutorial we learn how to install `libgpiod-c++` on Fedora 36.

### What is `libgpiod-c++`

> C++ bindings for use with libgpiod.  

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

## Install libgpiod-c++ 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 libgpiod-c++ using dnf by running the following command:

sudo dnf -y install libgpiod-c++

Install libgpiod-c++ 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 libgpiod-c++ using yum by running the following command:

sudo yum -y install libgpiod-c++

How To Uninstall libgpiod-c++ on Fedora 36

To uninstall only the libgpiod-c++ package we can use the following command:

sudo dnf remove libgpiod-c++

libgpiod-c++ Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/ffcefe35a10988bb8f2bc067a8942abf0b8c48
/usr/lib64/libgpiodcxx.so.1
/usr/lib64/libgpiodcxx.so.1.1.2

References

Summary

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

/usr/lib/.build-id /usr/lib/.build-id/b2 /usr/lib/.build-id/b2/78df00b946a825eebd60e8c0ab1d623e041c6d /usr/lib/libgpiodcxx.so.1 /usr/lib/libgpiodcxx.so.1.1.2


## References

* [libgpiod-c++ website](https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/)

## Summary

In this tutorial we learn how to install `libgpiod-c++` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).