How To Install libusb on Fedora 36

In this tutorial we learn how to install libusb in Fedora 36. libusb is Compatibility shim around libusb-1.0 offering the old 0.1 API

Introduction

In this tutorial we learn how to install libusb on Fedora 36.

What is libusb

This package provides a shim / compatibility layer on top of libusb-1.0 offering the old 0.1 API for applications which do not have been ported to the new 1.0 API yet. Where ever possible applications really should use and / or be ported to the new 1.0 API instead of relying on this compatibility library.

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

Install libusb on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libusb

Install libusb on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libusb

How To Uninstall libusb on Fedora 36

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

sudo dnf remove libusb

libusb Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/0318e2685245637790326fdcc3b3bcf538a9b4
/usr/lib64/libusb-0.1.so.4
/usr/lib64/libusb-0.1.so.4.4.4
/usr/share/doc/libusb
/usr/share/doc/libusb/AUTHORS
/usr/share/doc/libusb/NEWS
/usr/share/doc/libusb/README
/usr/share/licenses/libusb
/usr/share/licenses/libusb/COPYING
---
title: "How To Install libusb on Fedora 36"
linkTitle: "libusb"
type: "docs"
description: "In this tutorial we learn how to install libusb in Fedora 36. libusb is Compatibility shim around libusb-1.0 offering the old 0.1 API"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/libusb-featured.png

Introduction

References

In this tutorial we learn how to install libusb on Fedora 36.

What is libusb

Summary

This package provides a shim / compatibility layer on top of libusb-1.0 offering the old 0.1 API for applications which do not have been ported to the new 1.0 API yet. Where ever possible applications really should use and / or be ported to the new 1.0 API instead of relying on this compatibility library.

In this tutorial we learn how to install libusb on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).

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

Install libusb on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libusb

Install libusb on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libusb

How To Uninstall libusb on Fedora 36

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

sudo dnf remove libusb

libusb Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/af
/usr/lib/.build-id/af/5d40a420e9405fc9a3762e1e21cf9d296572c6
/usr/lib/libusb-0.1.so.4
/usr/lib/libusb-0.1.so.4.4.4
/usr/share/doc/libusb
/usr/share/doc/libusb/AUTHORS
/usr/share/doc/libusb/NEWS
/usr/share/doc/libusb/README
/usr/share/licenses/libusb
/usr/share/licenses/libusb/COPYING

References

Summary

In this tutorial we learn how to install libusb on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).