How To Install nbd on Fedora 36

In this tutorial we learn how to install nbd in Fedora 36. nbd is Network Block Device user-space tools (TCP version)

Introduction

In this tutorial we learn how to install nbd on Fedora 36.

What is nbd

Tools for the Linux Kernel’s network block device, allowing you to use remote block devices over a TCP/IP network.

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

Install nbd on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install nbd

Install nbd on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install nbd

How To Uninstall nbd on Fedora 36

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

sudo dnf remove nbd

nbd Package Contents on Fedora 36

/etc/sysconfig/nbd-server
/usr/bin/gznbd
/usr/bin/nbd-server
/usr/bin/nbd-trdump
/usr/bin/nbd-trplay
/usr/lib/.build-id
/usr/lib/.build-id/6d
/usr/lib/.build-id/6d/2dec307383b5b4966328ff1c7cbb794b817d12
/usr/lib/.build-id/6f
/usr/lib/.build-id/6f/ae4f9b5919decd6b39b058fad02be42c5acd78
/usr/lib/.build-id/84
/usr/lib/.build-id/84/10a443c2d566c6fdb3756b3aa213fcf658b483
/usr/lib/.build-id/b5
/usr/lib/.build-id/b5/35c749c5e311104d54f729ccdaa190e96361a4
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/8a47dd24ccb0d58f6b5ba936f64eff73e795b5
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/021e88863b4167663db70a8160f93737757d81
/usr/lib/systemd/system/nbd-server.service
/usr/lib/systemd/system/[email protected]
/usr/lib/systemd/system/[email protected]
/usr/lib/systemd/system/[email protected]/modprobe.conf
/usr/sbin/min-nbd-client
/usr/sbin/nbd-client
/usr/share/doc/nbd
/usr/share/doc/nbd/README.md
/usr/share/doc/nbd/proto.md
/usr/share/doc/nbd/todo.txt
/usr/share/doc/nbd/uri.md
/usr/share/licenses/nbd
/usr/share/licenses/nbd/COPYING
/usr/share/man/man1/nbd-server.1.gz
/usr/share/man/man1/nbd-trdump.1.gz
/usr/share/man/man1/nbd-trplay.1.gz
/usr/share/man/man5/nbd-server.5.gz
/usr/share/man/man5/nbdtab.5.gz
/usr/share/man/man8/nbd-client.8.gz

References

Summary

In this tutorial we learn how to install nbd on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).