How To Install usbredir on Rocky Linux 8
Introduction
In this tutorial we learn how to install usbredir on Rocky Linux 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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install usbredir.
Install usbredir on Rocky Linux 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 Rocky Linux 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 Rocky Linux 8
To uninstall only the usbredir package we can use the following command:
sudo dnf remove usbredir
usbredir Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/50
/usr/lib/.build-id/50/d7a2dbf202db7218ee4ddb987a9ddbf32d2c70
/usr/lib/.build-id/cb
/usr/lib/.build-id/cb/ac79ffaee53f9f73f271afd3c5122bebcbbbff
/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/9e
/usr/lib/.build-id/9e/d037a81ba4f4690fe7a9e3620d3a369bcfd0ac
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/c303b8788343de09a8e790f9494e78fc8cbf22
/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
References
Summary
In this tutorial we learn how to install usbredir on Rocky Linux 8 using yum and dnf.