How To Install libnfs.i686 on Amazon Linux 2

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

Introduction

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

What is libnfs.i686

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.i686 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libnfs.i686.

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

sudo yum -y install libnfs.i686

How To Uninstall libnfs.i686 on Amazon Linux 2

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

sudo yum remove libnfs.i686

libnfs.i686 Package Contents on Amazon Linux 2

/usr/lib/libnfs.so.8
/usr/lib/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.i686 on Amazon Linux 2 using yum.