How To Install libftdi-devel on Rocky Linux 8

In this tutorial we learn how to install libftdi-devel on Rocky Linux 8. libftdi-devel is Header files and static libraries for libftdi

Introduction

In this tutorial we learn how to install libftdi-devel on Rocky Linux 8.

What is libftdi-devel

Header files and static libraries for libftdi

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

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

sudo dnf -y install libftdi-devel

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

sudo yum -y install libftdi-devel

How To Uninstall libftdi-devel on Rocky Linux 8

To uninstall only the libftdi-devel package we can use the following command:

sudo dnf remove libftdi-devel

libftdi-devel Package Contents on Rocky Linux 8

/usr/bin/ftdi_eeprom
/usr/bin/libftdi1-config
/usr/include/libftdi1
/usr/include/libftdi1/ftdi.h
/usr/include/libftdi1/ftdi.hpp
/usr/lib/.build-id
/usr/lib/.build-id/08
/usr/lib/.build-id/08/804cde7174dd0107972f76103e0cc6ae1f8dac
/usr/lib64/libftdi1.so
/usr/lib64/pkgconfig/libftdi1.pc
/usr/share/libftdi/examples
/usr/share/libftdi/examples/cbus.py
/usr/share/libftdi/examples/complete.py
/usr/share/libftdi/examples/simple.py

References

Summary

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