How To Install libftdi on Fedora 34

libftdi is Library to program and control the FTDI USB controller Library to program and control the FTDI USB controller

Introduction

In this tutorial we learn how to install libftdi on Fedora 34.

What is libftdi

A library (using libusb) to talk to FTDI’s FT2232C, FT232BM and FT245BM type chips including the popular bitbang mode. libftdi 1.4 7.fc34 x86_64 49 k libftdi-1.4-7.fc34.src.rpm fedora Library to program and control the FTDI USB controller http LGPLv2 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libftdi.

Install libftdi on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install libftdi

Install libftdi on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 Fedora 34

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

sudo dnf remove libftdi

libftdi Package Contents on Fedora 34

/lib/udev/rules.d/69-libftdi.rules
/usr/lib/.build-id
/usr/lib/.build-id/94
/usr/lib/.build-id/94/4b70b0de637669c214e2b9350b5ea28a10ec00
/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
/lib/udev/rules.d/69-libftdi.rules
/usr/lib/.build-id
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/eb80213e1088358b0582197a0bb748834bc62a
/usr/lib/libftdi1.so.2
/usr/lib/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 Fedora 34 using yum and dnf.