How To Install libi2cd on Fedora 36
Introduction
In this tutorial we learn how to install libi2cd
on Fedora 36.
What is libi2cd
libi2cd provides a simple and straightforward API for accessing I2C devices from userspace. It relies on the i2c-dev Linux kernel module and is intended to complement existing tools and libraries, such as those provided by i2c-tools. It provides both high- and low-level access to the underlying ioctl requests.
We can use yum
or dnf
to install libi2cd
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libi2cd.
Install libi2cd 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 libi2cd
using dnf
by running the following command:
sudo dnf -y install libi2cd
Install libi2cd 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 libi2cd
using yum
by running the following command:
sudo yum -y install libi2cd
How To Uninstall libi2cd on Fedora 36
To uninstall only the libi2cd
package we can use the following command:
sudo dnf remove libi2cd
libi2cd Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/92
/usr/lib/.build-id/92/667fba4c192ccc0127b883ea33a22e7e389ad7
/usr/lib/libi2cd.so.0
/usr/lib/libi2cd.so.0.0.0
/usr/share/doc/libi2cd
/usr/share/doc/libi2cd/README.md
/usr/share/licenses/libi2cd
/usr/share/licenses/libi2cd/COPYING
References
Summary
In this tutorial we learn how to install libi2cd
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
title: “How To Install libi2cd on Fedora 36” linkTitle: “libi2cd” type: “docs” description: “In this tutorial we learn how to install libi2cd in Fedora 36. libi2cd is C library for interacting with linux I2C devices” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/libi2cd-featured.png
Introduction
In this tutorial we learn how to install libi2cd
on Fedora 36.
What is libi2cd
libi2cd provides a simple and straightforward API for accessing I2C devices from userspace. It relies on the i2c-dev Linux kernel module and is intended to complement existing tools and libraries, such as those provided by i2c-tools. It provides both high- and low-level access to the underlying ioctl requests.
We can use yum
or dnf
to install libi2cd
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libi2cd.
Install libi2cd 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 libi2cd
using dnf
by running the following command:
sudo dnf -y install libi2cd
Install libi2cd 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 libi2cd
using yum
by running the following command:
sudo yum -y install libi2cd
How To Uninstall libi2cd on Fedora 36
To uninstall only the libi2cd
package we can use the following command:
sudo dnf remove libi2cd
libi2cd Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/cb
/usr/lib/.build-id/cb/a9ff15de0959e4c0f0ab8b05b0dddbaa2f76e5
/usr/lib64/libi2cd.so.0
/usr/lib64/libi2cd.so.0.0.0
/usr/share/doc/libi2cd
/usr/share/doc/libi2cd/README.md
/usr/share/licenses/libi2cd
/usr/share/licenses/libi2cd/COPYING
References
Summary
In this tutorial we learn how to install libi2cd
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).