How To Install libi2c on Fedora 36

In this tutorial we learn how to install libi2c in Fedora 36. libi2c is I2C/SMBus bus access library

Introduction

In this tutorial we learn how to install libi2c on Fedora 36.

What is libi2c

libi2c offers a way for applications to interact with the devices connected to the I2C or SMBus buses of the system.

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

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

sudo dnf -y install libi2c

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

sudo yum -y install libi2c

How To Uninstall libi2c on Fedora 36

To uninstall only the libi2c package we can use the following command:

sudo dnf remove libi2c

libi2c Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/62fde10ed467c84754951ac3781344ce9f81ac
/usr/lib64/libi2c.so.0
/usr/lib64/libi2c.so.0.1.1
/usr/share/licenses/libi2c
/usr/share/licenses/libi2c/COPYING.LGPL

References

Summary

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


title: “How To Install libi2c on Fedora 36” linkTitle: “libi2c” type: “docs” description: “In this tutorial we learn how to install libi2c in Fedora 36. libi2c is I2C/SMBus bus access library” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/libi2c-featured.png

Introduction

In this tutorial we learn how to install libi2c on Fedora 36.

What is libi2c

libi2c offers a way for applications to interact with the devices connected to the I2C or SMBus buses of the system.

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

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

sudo dnf -y install libi2c

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

sudo yum -y install libi2c

How To Uninstall libi2c on Fedora 36

To uninstall only the libi2c package we can use the following command:

sudo dnf remove libi2c

libi2c Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/81
/usr/lib/.build-id/81/67711ffd26d6cbcf6ea754efad62607ff7bd20
/usr/lib/libi2c.so.0
/usr/lib/libi2c.so.0.1.1
/usr/share/licenses/libi2c
/usr/share/licenses/libi2c/COPYING.LGPL

References

Summary

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