How To Install i2c-tools on Fedora 36

In this tutorial we learn how to install i2c-tools in Fedora 36. i2c-tools is A heterogeneous set of I2C tools for Linux

Introduction

In this tutorial we learn how to install i2c-tools on Fedora 36.

What is i2c-tools

This package contains a heterogeneous set of I2C tools for Linux probing tool, a chip dumper, register-level access helpers, EEPROM decoding scripts, and more.

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

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

sudo dnf -y install i2c-tools

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

sudo yum -y install i2c-tools

How To Uninstall i2c-tools on Fedora 36

To uninstall only the i2c-tools package we can use the following command:

sudo dnf remove i2c-tools

i2c-tools Package Contents on Fedora 36

/etc/udev/makedev.d/99-i2c-dev.nodes
/usr/lib/.build-id
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/3ca55ba0c0dd4229c3c8e8f0e7066f86fd1612
/usr/lib/.build-id/70
/usr/lib/.build-id/70/4d692756df85330d7ae8c2f073725334bd48dd
/usr/lib/.build-id/87
/usr/lib/.build-id/87/4c3c4dfbef1a34f39d94009901525621cd7471
/usr/lib/.build-id/92
/usr/lib/.build-id/92/324349c497b0edb1673158d9f8d66db0f4734d
/usr/lib/.build-id/b5
/usr/lib/.build-id/b5/bb2228abe93dae9bfc133f2c14c3515ef3a671
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/11a3611fc73ccf3e4e955f589083a10d0f1486
/usr/lib/modprobe.d/i2c-dev.conf
/usr/lib/modules-load.d/i2c-tools.conf
/usr/sbin/eeprog
/usr/sbin/i2cdetect
/usr/sbin/i2cdump
/usr/sbin/i2cget
/usr/sbin/i2cset
/usr/sbin/i2ctransfer
/usr/share/doc/i2c-tools
/usr/share/doc/i2c-tools/CHANGES
/usr/share/doc/i2c-tools/README
/usr/share/licenses/i2c-tools
/usr/share/licenses/i2c-tools/COPYING
/usr/share/man/man8/eeprog.8.gz
/usr/share/man/man8/i2cdetect.8.gz
/usr/share/man/man8/i2cdump.8.gz
/usr/share/man/man8/i2cget.8.gz
/usr/share/man/man8/i2cset.8.gz
/usr/share/man/man8/i2ctransfer.8.gz

References

Summary

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