How To Install usbredir on AlmaLinux 8

In this tutorial we learn how to install usbredir in AlmaLinux 8. usbredir is USB network redirection protocol libraries

Introduction

In this tutorial we learn how to install usbredir on AlmaLinux 8.

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

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

Install usbredir on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install usbredir

Install usbredir on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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 AlmaLinux 8

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

sudo dnf remove usbredir

References

Summary

In this tutorial we learn how to install usbredir on AlmaLinux 8 using yum and dnf.