How To Install libnfs-devel on Fedora 36

In this tutorial we learn how to install libnfs-devel in Fedora 36. libnfs-devel is Development files for libnfs

Introduction

In this tutorial we learn how to install libnfs-devel on Fedora 36.

What is libnfs-devel

The libnfs-devel package contains libraries and header files for developing applications that use libnfs.

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

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

sudo dnf -y install libnfs-devel

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

sudo yum -y install libnfs-devel

How To Uninstall libnfs-devel on Fedora 36

To uninstall only the libnfs-devel package we can use the following command:


title: "How To Install libnfs-devel on Fedora 36"
sudo dnf remove libnfs-devel

linkTitle: “libnfs-devel”

type: “docs”

libnfs-devel Package Contents on Fedora 36

description: “In this tutorial we learn how to install libnfs-devel in Fedora 36. libnfs-devel is Development files for libnfs”

date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/libnfs-devel-featured.png
---

## Introduction

In this tutorial we learn how to install `libnfs-devel` on Fedora 36.

### What is `libnfs-devel`

> The libnfs-devel package contains libraries and header files for developing applications that use libnfs.  

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

## Install libnfs-devel on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
sudo dnf makecache --refresh

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

sudo dnf -y install libnfs-devel

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

sudo yum -y install libnfs-devel

How To Uninstall libnfs-devel on Fedora 36

To uninstall only the libnfs-devel package we can use the following command:

sudo dnf remove libnfs-devel

libnfs-devel Package Contents on Fedora 36

/usr/include/nfsc
/usr/include/nfsc/libnfs-raw-mount.h
/usr/include/nfsc/libnfs-raw-nfs.h
/usr/include/nfsc/libnfs-raw-nfs4.h
/usr/include/nfsc/libnfs-raw-nlm.h
/usr/include/nfsc/libnfs-raw-nsm.h
/usr/include/nfsc/libnfs-raw-portmap.h
/usr/include/nfsc/libnfs-raw-rquota.h
/usr/include/nfsc/libnfs-raw.h
/usr/include/nfsc/libnfs-zdr.h
/usr/include/nfsc/libnfs.h
/usr/lib64/libnfs.so
/usr/lib64/pkgconfig/libnfs.pc
/usr/share/doc/libnfs-devel
/usr/share/doc/libnfs-devel/ld_nfs.c
/usr/share/doc/libnfs-devel/nfs-fh.c
/usr/share/doc/libnfs-devel/nfs-io.c
/usr/share/doc/libnfs-devel/nfs-ln.c
/usr/share/doc/libnfs-devel/nfs4-cat-talloc.c
/usr/share/doc/libnfs-devel/nfs4-cat.c
/usr/share/doc/libnfs-devel/nfsclient-async.c
/usr/share/doc/libnfs-devel/nfsclient-bcast.c
/usr/share/doc/libnfs-devel/nfsclient-listservers.c
/usr/share/doc/libnfs-devel/nfsclient-raw.c
/usr/share/doc/libnfs-devel/nfsclient-sync.c
/usr/share/doc/libnfs-devel/portmap-client.c
/usr/share/doc/libnfs-devel/portmap-server.c

References

Summary

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

/usr/include/nfsc /usr/include/nfsc/libnfs-raw-mount.h /usr/include/nfsc/libnfs-raw-nfs.h /usr/include/nfsc/libnfs-raw-nfs4.h /usr/include/nfsc/libnfs-raw-nlm.h /usr/include/nfsc/libnfs-raw-nsm.h /usr/include/nfsc/libnfs-raw-portmap.h /usr/include/nfsc/libnfs-raw-rquota.h /usr/include/nfsc/libnfs-raw.h /usr/include/nfsc/libnfs-zdr.h /usr/include/nfsc/libnfs.h /usr/lib/libnfs.so /usr/lib/pkgconfig/libnfs.pc /usr/share/doc/libnfs-devel /usr/share/doc/libnfs-devel/ld_nfs.c /usr/share/doc/libnfs-devel/nfs-fh.c /usr/share/doc/libnfs-devel/nfs-io.c /usr/share/doc/libnfs-devel/nfs-ln.c /usr/share/doc/libnfs-devel/nfs4-cat-talloc.c /usr/share/doc/libnfs-devel/nfs4-cat.c /usr/share/doc/libnfs-devel/nfsclient-async.c /usr/share/doc/libnfs-devel/nfsclient-bcast.c /usr/share/doc/libnfs-devel/nfsclient-listservers.c /usr/share/doc/libnfs-devel/nfsclient-raw.c /usr/share/doc/libnfs-devel/nfsclient-sync.c /usr/share/doc/libnfs-devel/portmap-client.c /usr/share/doc/libnfs-devel/portmap-server.c


## References

* [libnfs-devel website](https://github.com/sahlberg/libnfs)

## Summary

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