How To Install usbredir.x86_64 on Amazon Linux 2

In this tutorial we learn how to install usbredir.x86_64 in Amazon Linux 2. usbredir.x86_64 is USB network redirection protocol libraries

Introduction

In this tutorial we learn how to install usbredir.x86_64 on Amazon Linux 2.

What is usbredir.x86_64

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 to install usbredir.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install usbredir.x86_64.

Install usbredir.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install usbredir.x86_64

How To Uninstall usbredir.x86_64 on Amazon Linux 2

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

sudo yum remove usbredir.x86_64

usbredir.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libusbredirhost.so.1
/usr/lib64/libusbredirhost.so.1.0.0
/usr/lib64/libusbredirparser.so.1
/usr/lib64/libusbredirparser.so.1.0.0
/usr/share/doc/usbredir-0.7.1
/usr/share/doc/usbredir-0.7.1/COPYING.LIB
/usr/share/doc/usbredir-0.7.1/ChangeLog
/usr/share/doc/usbredir-0.7.1/README
/usr/share/doc/usbredir-0.7.1/TODO

References

Summary

In this tutorial we learn how to install usbredir.x86_64 on Amazon Linux 2 using yum.