How To Install usbredir on Fedora 34

usbredir is USB network redirection protocol libraries USB network redirection protocol libraries

Introduction

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

What is usbredir

The usbredir libraries allow USB devices to be used on remote and/or virtual hosts over TCP. The following libraries are provided usbredirparser A library containing the parser for the usbredir protocol usbredirhost A library implementing the USB host side of a usbredir connection. All that an application wishing to implement a USB host needs to do is * Provide a libusb device handle for the device * Provide write and read callbacks for the actual transport of usbredir data * Monitor for usbredir and libusb read/write events and call their handlers usbredir 0.10.0 1.fc34 x86_64 48 k usbredir-0.10.0-1.fc34.src.rpm updates USB network redirection protocol libraries https LGPLv2+ The usbredir libraries allow USB devices to be used on remote and/or virtual hosts over TCP. The following libraries are provided usbredirparser A library containing the parser for the usbredir protocol usbredirhost A library implementing the USB host side of a usbredir connection. All that an application wishing to implement a USB host needs to do is * Provide a libusb device handle for the device * Provide write and read callbacks for the actual transport of usbredir data * Monitor for usbredir and libusb read/write events and call their handlers

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

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

sudo dnf -y install usbredir

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

sudo yum -y install usbredir

How To Uninstall usbredir on Fedora 34

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

sudo dnf remove usbredir

usbredir Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/06
/usr/lib/.build-id/06/2f299ef4c29f17f34c13f8c95495bbc2df4a88
/usr/lib/.build-id/67
/usr/lib/.build-id/67/2c1b4f49bda45b0f294b6d3abaca240a86457a
/usr/lib64/libusbredirhost.so.1
/usr/lib64/libusbredirhost.so.1.0.2
/usr/lib64/libusbredirparser.so.1
/usr/lib64/libusbredirparser.so.1.0.3
/usr/share/licenses/usbredir
/usr/share/licenses/usbredir/COPYING.LIB
/usr/lib/.build-id
/usr/lib/.build-id/10
/usr/lib/.build-id/10/b250364222ab3e6d2a8f9592452dbc3f222a46
/usr/lib/.build-id/6e
/usr/lib/.build-id/6e/d8606a12a83c2eeeeb9af822de4c6563ae75fa
/usr/lib/libusbredirhost.so.1
/usr/lib/libusbredirhost.so.1.0.1
/usr/lib/libusbredirparser.so.1
/usr/lib/libusbredirparser.so.1.0.1
/usr/share/licenses/usbredir
/usr/share/licenses/usbredir/COPYING.LIB
/usr/lib/.build-id
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/3013ece131c1b6a3db33c10194224bfb0d6dd5
/usr/lib/.build-id/97
/usr/lib/.build-id/97/ba44af45db493f8512ee51afda76b02d6c4310
/usr/lib64/libusbredirhost.so.1
/usr/lib64/libusbredirhost.so.1.0.1
/usr/lib64/libusbredirparser.so.1
/usr/lib64/libusbredirparser.so.1.0.1
/usr/share/licenses/usbredir
/usr/share/licenses/usbredir/COPYING.LIB
/usr/lib/.build-id
/usr/lib/.build-id/55
/usr/lib/.build-id/55/1ab2368a10ece88d67cdfe8ae5ddf9e6859eee
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/a9e2855c0d71465b20e278a9e7fba2021ac827
/usr/lib/libusbredirhost.so.1
/usr/lib/libusbredirhost.so.1.0.2
/usr/lib/libusbredirparser.so.1
/usr/lib/libusbredirparser.so.1.0.3
/usr/share/licenses/usbredir
/usr/share/licenses/usbredir/COPYING.LIB

References

Summary

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