How To Install libgusb on Fedora 34

libgusb is GLib wrapper around libusb1 GLib wrapper around libusb1

Introduction

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

What is libgusb

GUsb is a GObject wrapper for libusb1 that makes it easy to do asynchronous control, bulk and interrupt transfers with proper cancellation and integration into a mainloop. libgusb 0.3.7 1.fc34 x86_64 49 k libgusb-0.3.7-1.fc34.src.rpm updates GLib wrapper around libusb1 https LGPLv2+ GUsb is a GObject wrapper for libusb1 that makes it easy to do asynchronous control, bulk and interrupt transfers with proper cancellation and integration into a mainloop.

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

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

sudo dnf -y install libgusb

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

sudo yum -y install libgusb

How To Uninstall libgusb on Fedora 34

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

sudo dnf remove libgusb

libgusb Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/4f
/usr/lib/.build-id/4f/c94b7bf717765e743859790b624305be269232
/usr/lib/girepository-1.0/GUsb-1.0.typelib
/usr/lib/libgusb.so.2
/usr/lib/libgusb.so.2.0.10
/usr/share/doc/libgusb
/usr/share/doc/libgusb/AUTHORS
/usr/share/doc/libgusb/COPYING
/usr/share/doc/libgusb/NEWS
/usr/share/doc/libgusb/README.md
/usr/lib/.build-id
/usr/lib/.build-id/96
/usr/lib/.build-id/96/14fd6b73c35571f131fa71963a61c697e00c8b
/usr/lib64/girepository-1.0/GUsb-1.0.typelib
/usr/lib64/libgusb.so.2
/usr/lib64/libgusb.so.2.0.10
/usr/share/doc/libgusb
/usr/share/doc/libgusb/AUTHORS
/usr/share/doc/libgusb/COPYING
/usr/share/doc/libgusb/NEWS
/usr/share/doc/libgusb/README.md
/usr/lib/.build-id
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/ab828796b89212522fc011cccefd07d7c4a18b
/usr/lib64/girepository-1.0/GUsb-1.0.typelib
/usr/lib64/libgusb.so.2
/usr/lib64/libgusb.so.2.0.10
/usr/share/doc/libgusb
/usr/share/doc/libgusb/AUTHORS
/usr/share/doc/libgusb/COPYING
/usr/share/doc/libgusb/NEWS
/usr/share/doc/libgusb/README.md
/usr/lib/.build-id
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/3817525a75235779b7bd1a5c2a4b66d6e88552
/usr/lib/girepository-1.0/GUsb-1.0.typelib
/usr/lib/libgusb.so.2
/usr/lib/libgusb.so.2.0.10
/usr/share/doc/libgusb
/usr/share/doc/libgusb/AUTHORS
/usr/share/doc/libgusb/COPYING
/usr/share/doc/libgusb/NEWS
/usr/share/doc/libgusb/README.md

References

Summary

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