How To Install libphidget on Fedora 34

libphidget is Drivers and API for Phidget devices Drivers and API for Phidget devices

Introduction

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

What is libphidget

Phidgets are a set of “plug and play” building blocks for low cost USB sensing and control from your PC. All the USB complexity is taken care of by the robust libphidget API. libphidget 2.1.8.20140319 16.fc34 x86_64 265 k libphidget-2.1.8.20140319-16.fc34.src.rpm fedora Drivers and API for Phidget devices http LGPLv3 Phidgets are a set of “plug and play” building blocks for low cost USB sensing and control from your PC. All the USB complexity is taken care of by the robust libphidget API.

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

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

sudo dnf -y install libphidget

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

sudo yum -y install libphidget

How To Uninstall libphidget on Fedora 34

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

sudo dnf remove libphidget

libphidget Package Contents on Fedora 34

/lib/udev/rules.d/99-phidgets.rules
/usr/lib/.build-id
/usr/lib/.build-id/08
/usr/lib/.build-id/08/07b9446873520552eb9d9c60bc82c424f6b477
/usr/lib/libphidget21.so.0
/usr/lib/libphidget21.so.0.0.0
/usr/share/doc/libphidget
/usr/share/doc/libphidget/AUTHORS
/usr/share/doc/libphidget/COPYING
/usr/share/doc/libphidget/README
/lib/udev/rules.d/99-phidgets.rules
/usr/lib/.build-id
/usr/lib/.build-id/51
/usr/lib/.build-id/51/2405110ada8d204c3bfbe40f8a089a815c1975
/usr/lib64/libphidget21.so.0
/usr/lib64/libphidget21.so.0.0.0
/usr/share/doc/libphidget
/usr/share/doc/libphidget/AUTHORS
/usr/share/doc/libphidget/COPYING
/usr/share/doc/libphidget/README

References

Summary

In this tutorial we learn how to install libphidget on Fedora 34 using yum and dnf.