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

In this tutorial we learn how to install libnfs-utils.x86_64 in Amazon Linux 2. libnfs-utils.x86_64 is Utilities for accessing NFS servers

Introduction

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

What is libnfs-utils.x86_64

The libnfs-utils package contains simple client programs for accessing NFS servers using libnfs.

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

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

sudo yum -y install libnfs-utils.x86_64

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

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

sudo yum remove libnfs-utils.x86_64

libnfs-utils.x86_64 Package Contents on Amazon Linux 2

/usr/bin/nfs-cat
/usr/bin/nfs-cp
/usr/bin/nfs-ls
/usr/share/man/man1/nfs-cat.1.gz
/usr/share/man/man1/nfs-cp.1.gz
/usr/share/man/man1/nfs-ls.1.gz

References

Summary

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