How To Install libusbg on Fedora 34

libusbg is Library for USB gadget-configfs userspace functionality Library for USB gadget-configfs userspace functionality

Introduction

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

What is libusbg

libusbg is a C library encapsulating the kernel USB gadget-configfs userspace API functionality. It provides routines for creating and parsing USB gadget devices using the configfs API. Currently, all USB gadget configfs functions that can be enabled in kernel release 3.11 (Linux for Workgroups!) are supported. libusbg 0.2.0 9.fc34 x86_64 57 k libusbg-0.2.0-9.fc34.src.rpm fedora Library for USB gadget-configfs userspace functionality https LGPLv2+ libusbg is a C library encapsulating the kernel USB gadget-configfs userspace API functionality. It provides routines for creating and parsing USB gadget devices using the configfs API. Currently, all USB gadget configfs functions that can be enabled in kernel release 3.11 (Linux for Workgroups!) are supported.

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

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

sudo dnf -y install libusbg

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

sudo yum -y install libusbg

How To Uninstall libusbg on Fedora 34

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

sudo dnf remove libusbg

libusbg Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/ae
/usr/lib/.build-id/ae/cadee2f8a41b6c2295fb38ecabbc72cc94e5dd
/usr/lib64/libusbgx.so.2
/usr/lib64/libusbgx.so.2.0.0
/usr/share/doc/libusbg
/usr/share/doc/libusbg/AUTHORS
/usr/share/doc/libusbg/ChangeLog
/usr/share/doc/libusbg/README
/usr/share/licenses/libusbg
/usr/share/licenses/libusbg/COPYING.LGPL
/usr/lib/.build-id
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/eccc8a8260d2844b7cd236a3d211489cc44aa1
/usr/lib/libusbgx.so.2
/usr/lib/libusbgx.so.2.0.0
/usr/share/doc/libusbg
/usr/share/doc/libusbg/AUTHORS
/usr/share/doc/libusbg/ChangeLog
/usr/share/doc/libusbg/README
/usr/share/licenses/libusbg
/usr/share/licenses/libusbg/COPYING.LGPL

References

Summary

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