How To Install libnfs.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libnfs.x86_64 in Amazon Linux 2. libnfs.x86_64 is Client library for accessing NFS shares over a network

Introduction

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

What is libnfs.x86_64

The libnfs package contains a library of functions for accessing NFSv2 and NFSv3 servers from user space. It provides a low-level, asynchronous RPC library for accessing NFS protocols, an asynchronous library with POSIX-like VFS functions, and a synchronous library with POSIX-like VFS functions.

We can use yum to install libnfs.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.x86_64.

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

sudo yum -y install libnfs.x86_64

How To Uninstall libnfs.x86_64 on Amazon Linux 2

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

sudo yum remove libnfs.x86_64

libnfs.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libnfs.so.8
/usr/lib64/libnfs.so.8.2.0
/usr/share/doc/libnfs-1.11.0
/usr/share/doc/libnfs-1.11.0/README
/usr/share/licenses/libnfs-1.11.0
/usr/share/licenses/libnfs-1.11.0/COPYING
/usr/share/licenses/libnfs-1.11.0/LICENCE-BSD.txt
/usr/share/licenses/libnfs-1.11.0/LICENCE-GPL-3.txt
/usr/share/licenses/libnfs-1.11.0/LICENCE-LGPL-2.1.txt

References

Summary

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