How To Install libi2c-devel on Fedora 36
Introduction
In this tutorial we learn how to install libi2c-devel
on Fedora 36.
What is libi2c-devel
Development files for the I2C library.
We can use yum
or dnf
to install libi2c-devel
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libi2c-devel.
Install libi2c-devel 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-devel
using dnf
by running the following command:
sudo dnf -y install libi2c-devel
Install libi2c-devel 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-devel
using yum
by running the following command:
sudo yum -y install libi2c-devel
How To Uninstall libi2c-devel on Fedora 36
To uninstall only the libi2c-devel
package we can use the following command:
sudo dnf remove libi2c-devel
libi2c-devel Package Contents on Fedora 36
---
title: "How To Install libi2c-devel on Fedora 36"
linkTitle: "libi2c-devel"
type: "docs"
description: "In this tutorial we learn how to install libi2c-devel in Fedora 36. libi2c-devel is Development files for the I2C library"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/libi2c-devel-featured.png
---
## Introduction
In this tutorial we learn how to install `libi2c-devel` on Fedora 36.
### What is `libi2c-devel`
> Development files for the I2C library.
We can use `yum` or `dnf` to install `libi2c-devel` on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libi2c-devel.
## Install libi2c-devel 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 libi2c-devel
using dnf
by running the following command:
sudo dnf -y install libi2c-devel
Install libi2c-devel 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-devel
using yum
by running the following command:
sudo yum -y install libi2c-devel
How To Uninstall libi2c-devel on Fedora 36
To uninstall only the libi2c-devel
package we can use the following command:
sudo dnf remove libi2c-devel
libi2c-devel Package Contents on Fedora 36
/usr/include/i2c
/usr/include/i2c/smbus.h
/usr/lib/libi2c.so
/usr/share/man/man3/libi2c.3.gz
References
Summary
In this tutorial we learn how to install libi2c-devel
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
/usr/include/i2c /usr/include/i2c/smbus.h /usr/lib64/libi2c.so /usr/share/man/man3/libi2c.3.gz
## References
* [libi2c-devel website](https://i2c.wiki.kernel.org/index.php/I2C_Tools)
## Summary
In this tutorial we learn how to install `libi2c-devel` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).