How To Install libnbd on Fedora 36
title: “How To Install libnbd on Fedora 36” linkTitle: “libnbd” type: “docs” description: “In this tutorial we learn how to install libnbd in Fedora 36. libnbd is NBD client library in userspace” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/libnbd-featured.png lastmod: “2022-08-17”
#image: /images/fedora/36/libnbd-featured.png
Introduction
Introduction
In this tutorial we learn how to install libnbd
on Fedora 36.
In this tutorial we learn how to install libnbd
on Fedora 36.
What is libnbd
What is libnbd
NBD — Network Block Device — is a protocol for accessing Block Devices (hard disks and disk-like things) over a Network. This is the NBD client library in userspace, a simple library for writing NBD clients. The key features are * Synchronous and asynchronous APIs, both for ease of use and for writing non-blocking, multithreaded clients. * High performance. * Minimal dependencies for the basic library. * Well-documented, stable API. * Bindings in several programming languages.
NBD — Network Block Device — is a protocol for accessing Block Devices (hard disks and disk-like things) over a Network. This is the NBD client library in userspace, a simple library for writing NBD clients. The key features are * Synchronous and asynchronous APIs, both for ease of use and for writing non-blocking, multithreaded clients. * High performance. * Minimal dependencies for the basic library. * Well-documented, stable API. * Bindings in several programming languages.
We can use yum
or dnf
to install libnbd
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libnbd.
We can use yum
or dnf
to install libnbd
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libnbd.
Install libnbd on Fedora 36 Using dnf
Install libnbd on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
Update yum database with dnf
using the following command.
```bash
sudo dnf makecache --refresh
sudo dnf makecache –refresh
After updating yum database, We can install `libnbd` using `dnf` by running the following command:
```bash
sudo dnf -y install libnbd
After updating yum database, We can install libnbd
using dnf
by running the following command:
Install libnbd on Fedora 36 Using yum
sudo dnf -y install libnbd
Update yum database with yum
using the following command.
## Install libnbd on Fedora 36 Using yum
sudo yum makecache --refresh
Update yum database with yum
using the following command.
After updating yum database, We can install `libnbd` using `yum` by running the following command:
sudo yum makecache --refresh
```bash
sudo yum -y install libnbd
After updating yum database, We can install `libnbd` using `yum` by running the following command:
## How To Uninstall libnbd on Fedora 36
To uninstall only the `libnbd` package we can use the following command:
```bash
sudo dnf remove libnbd
libnbd Package Contents on Fedora 36
```bash
sudo yum -y install libnbd
How To Uninstall libnbd on Fedora 36
To uninstall only the libnbd
package we can use the following command:
sudo dnf remove libnbd
libnbd Package Contents on Fedora 36
/usr/bin/nbdcopy
/usr/bin/nbdinfo
/usr/lib/.build-id
/usr/lib/.build-id/51
/usr/lib/.build-id/51/5713262862d1412014cf5f982953ef68d41218
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/0085f7c2643419b4b978ef96e7a9feeb5dcc43
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/07d8f9998578429b3e0bec4a7e0884a8836495
/usr/lib64/libnbd.so.0
/usr/lib64/libnbd.so.0.0.0
/usr/share/doc/libnbd
/usr/share/doc/libnbd/README
/usr/share/licenses/libnbd
/usr/share/licenses/libnbd/COPYING.LIB
/usr/share/man/man1/nbdcopy.1.gz
/usr/share/man/man1/nbdinfo.1.gz
References
Summary
In this tutorial we learn how to install libnbd
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
/usr/bin/nbdcopy /usr/bin/nbdinfo /usr/lib/.build-id /usr/lib/.build-id/9a /usr/lib/.build-id/9a/ccf92c1813ede9218bb4c144a8befbad6ea2d6 /usr/lib/.build-id/b4 /usr/lib/.build-id/b4/36493a5ea43b18271cf68f0ce3e0f218369020 /usr/lib/.build-id/cb /usr/lib/.build-id/cb/4a0ed26a663fc451105a954c186a9a41a66f9d /usr/lib/libnbd.so.0 /usr/lib/libnbd.so.0.0.0 /usr/share/doc/libnbd /usr/share/doc/libnbd/README /usr/share/licenses/libnbd /usr/share/licenses/libnbd/COPYING.LIB /usr/share/man/man1/nbdcopy.1.gz /usr/share/man/man1/nbdinfo.1.gz
## References
* [libnbd website](https://gitlab.com/nbdkit/libnbd)
## Summary
In this tutorial we learn how to install `libnbd` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).