How To Install libnfs-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libnfs-devel.x86_64 in Amazon Linux 2. libnfs-devel.x86_64 is Development files for libnfs

Introduction

In this tutorial we learn how to install libnfs-devel.x86_64 on Amazon Linux 2.

What is libnfs-devel.x86_64

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

We can use yum to install libnfs-devel.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libnfs-devel.x86_64.

Install libnfs-devel.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libnfs-devel.x86_64

How To Uninstall libnfs-devel.x86_64 on Amazon Linux 2

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

sudo yum remove libnfs-devel.x86_64

libnfs-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/nfsc
/usr/include/nfsc/libnfs-raw-mount.h
/usr/include/nfsc/libnfs-raw-nfs.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-1.11.0
/usr/share/doc/libnfs-devel-1.11.0/ld_nfs.c
/usr/share/doc/libnfs-devel-1.11.0/nfs-io.c
/usr/share/doc/libnfs-devel-1.11.0/nfsclient-async.c
/usr/share/doc/libnfs-devel-1.11.0/nfsclient-bcast.c
/usr/share/doc/libnfs-devel-1.11.0/nfsclient-listservers.c
/usr/share/doc/libnfs-devel-1.11.0/nfsclient-raw.c
/usr/share/doc/libnfs-devel-1.11.0/nfsclient-sync.c
/usr/share/doc/libnfs-devel-1.11.0/portmap-client.c

References

Summary

In this tutorial we learn how to install libnfs-devel.x86_64 on Amazon Linux 2 using yum.