How To Install python3-pyi2cflash on Rocky Linux 8

In this tutorial we learn how to install python3-pyi2cflash on Rocky Linux 8. python3-pyi2cflash is Python I2C eeprom device drivers

Introduction

In this tutorial we learn how to install python3-pyi2cflash on Rocky Linux 8.

What is python3-pyi2cflash

I2C flash devices, also known as DataFlash are commonly found in embedded products, to store firmware, microcode or configuration parameters.

We can use yum or dnf to install python3-pyi2cflash on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-pyi2cflash.

Install python3-pyi2cflash on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install python3-pyi2cflash using dnf by running the following command:

sudo dnf -y install python3-pyi2cflash

Install python3-pyi2cflash on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install python3-pyi2cflash using yum by running the following command:

sudo yum -y install python3-pyi2cflash

How To Uninstall python3-pyi2cflash on Rocky Linux 8

To uninstall only the python3-pyi2cflash package we can use the following command:

sudo dnf remove python3-pyi2cflash

python3-pyi2cflash Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/i2cflash
/usr/lib/python3.6/site-packages/i2cflash/__init__.py
/usr/lib/python3.6/site-packages/i2cflash/__pycache__
/usr/lib/python3.6/site-packages/i2cflash/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/i2cflash/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/i2cflash/__pycache__/serialeeprom.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/i2cflash/__pycache__/serialeeprom.cpython-36.pyc
/usr/lib/python3.6/site-packages/i2cflash/serialeeprom.py
/usr/lib/python3.6/site-packages/pyi2cflash-0.2.2-py3.6.egg-info
/usr/lib/python3.6/site-packages/pyi2cflash-0.2.2-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/pyi2cflash-0.2.2-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/pyi2cflash-0.2.2-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/pyi2cflash-0.2.2-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/pyi2cflash-0.2.2-py3.6.egg-info/top_level.txt
/usr/share/doc/python3-pyi2cflash
/usr/share/doc/python3-pyi2cflash/AUTHORS
/usr/share/doc/python3-pyi2cflash/README.rst
/usr/share/licenses/python3-pyi2cflash
/usr/share/licenses/python3-pyi2cflash/LICENSE

References

Summary

In this tutorial we learn how to install python3-pyi2cflash on Rocky Linux 8 using yum and dnf.