How To Install usbip on Fedora 34

usbip is USB/IP user-space USB/IP user-space

Introduction

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

What is usbip

USB/IP allows you to share USB devices over a network. With USB/IP, you can plug a USB device into one computer and use it on a different computer on the network. This package contains the user-space tools for USB/IP, both for servers and clients usbip 5.7.9 3.fc34 x86_64 68 k usbip-5.7.9-3.fc34.src.rpm fedora USB/IP user-space https GPLv2+ USB/IP allows you to share USB devices over a network. With USB/IP, you can plug a USB device into one computer and use it on a different computer on the network. This package contains the user-space tools for USB/IP, both for servers and clients

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

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

sudo dnf -y install usbip

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

sudo yum -y install usbip

How To Uninstall usbip on Fedora 34

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

sudo dnf remove usbip

usbip Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/10
/usr/lib/.build-id/10/2f1b5de2f92ff659c2e1c2c9c325d8af4fde2a
/usr/lib/.build-id/20
/usr/lib/.build-id/20/d462f7ec06dccdbf873a1860ebc3390ece565a
/usr/lib/.build-id/47
/usr/lib/.build-id/47/0fecfb0324c85342680448336ed33370c410fa
/usr/lib/systemd/system/usbip-client.service
/usr/lib/systemd/system/usbip-server.service
/usr/lib64/libusbip.so.0
/usr/lib64/libusbip.so.0.0.1
/usr/sbin/usbip
/usr/sbin/usbipd
/usr/share/doc/usbip
/usr/share/doc/usbip/AUTHORS
/usr/share/doc/usbip/README
/usr/share/licenses/usbip
/usr/share/licenses/usbip/COPYING
/usr/share/man/man8/usbip.8.gz
/usr/share/man/man8/usbipd.8.gz
/usr/lib/.build-id
/usr/lib/.build-id/21
/usr/lib/.build-id/21/8763af45c96e33023c70e615ee46c8ecefaf7e
/usr/lib/.build-id/61
/usr/lib/.build-id/61/86c3416aa179719fb6c7b3cf7881b3e8a6c14b
/usr/lib/.build-id/9e
/usr/lib/.build-id/9e/bacdf5f91da166663f83c1f646bfb9739bb310
/usr/lib/libusbip.so.0
/usr/lib/libusbip.so.0.0.1
/usr/lib/systemd/system/usbip-client.service
/usr/lib/systemd/system/usbip-server.service
/usr/sbin/usbip
/usr/sbin/usbipd
/usr/share/doc/usbip
/usr/share/doc/usbip/AUTHORS
/usr/share/doc/usbip/README
/usr/share/licenses/usbip
/usr/share/licenses/usbip/COPYING
/usr/share/man/man8/usbip.8.gz
/usr/share/man/man8/usbipd.8.gz

References

Summary

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