How To Install libftdi on Rocky Linux 8

In this tutorial we learn how to install libftdi on Rocky Linux 8. libftdi is Library to program and control the FTDI USB controller

Introduction

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

What is libftdi

A library (using libusb) to talk to FTDI’s FT2232C, FT232BM and FT245BM type chips including the popular bitbang mode.

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

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

sudo dnf -y install libftdi

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

sudo yum -y install libftdi

How To Uninstall libftdi on Rocky Linux 8

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

sudo dnf remove libftdi

libftdi Package Contents on Rocky Linux 8

/lib/udev/rules.d/69-libftdi.rules
/usr/lib/.build-id
/usr/lib/.build-id/a5
/usr/lib/.build-id/a5/22bc115dce48545e6eb065920552b9a42e9966
/usr/lib64/libftdi1.so.2
/usr/lib64/libftdi1.so.2.4.0
/usr/share/doc/libftdi
/usr/share/doc/libftdi/AUTHORS
/usr/share/doc/libftdi/ChangeLog
/usr/share/doc/libftdi/README
/usr/share/licenses/libftdi
/usr/share/licenses/libftdi/COPYING.LIB

References

Summary

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