How To Install nbd-cli on Fedora 36

In this tutorial we learn how to install nbd-cli in Fedora 36. nbd-cli is A client side service and a command utility

Introduction

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

What is nbd-cli

A client side service and a command utility.

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

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

sudo dnf -y install nbd-cli

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

sudo yum -y install nbd-cli

How To Uninstall nbd-cli on Fedora 36

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

sudo dnf remove nbd-cli

nbd-cli Package Contents on Fedora 36

/etc/sysconfig/nbd-clid
/usr/lib/.build-id
/usr/lib/.build-id/39
/usr/lib/.build-id/39/e1061b6bbdd2368963ac9b034e7d684ab111f9
/usr/lib/.build-id/41
/usr/lib/.build-id/41/8977c4404d874ad8d142bfe7d78077d8c3d958
/usr/lib/systemd/system/nbd-clid.service
/usr/sbin/nbd-cli
/usr/sbin/nbd-clid
/usr/share/doc/nbd-cli
/usr/share/doc/nbd-cli/README.md
/usr/share/licenses/nbd-cli
/usr/share/licenses/nbd-cli/COPYING-GPLV2
/usr/share/licenses/nbd-cli/COPYING-LGPLV3
/usr/share/man/man8/nbd-cli.8.gz
/usr/share/man/man8/nbd-clid.8.gz
/var/log/nbd-runner/nbd-clid.log

References

Summary

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