How To Install nfs-utils on AlmaLinux 8

In this tutorial we learn how to install nfs-utils in AlmaLinux 8. nfs-utils is NFS utilities and supporting clients and daemons for the kernel NFS server

Introduction

In this tutorial we learn how to install nfs-utils on AlmaLinux 8.

What is nfs-utils

The nfs-utils package provides a daemon for the kernel NFS server and related tools, which provides a much higher level of performance than the traditional Linux NFS server used by most users. This package also contains the showmount program. Showmount queries the mount daemon on a remote host for information about the NFS (Network File System) server on the remote host. For example, showmount can display the clients which are mounted on that host. This package also contains the mount.nfs and umount.nfs program.

We can use yum or dnf to install nfs-utils on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install nfs-utils.

Install nfs-utils on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install nfs-utils

Install nfs-utils on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install nfs-utils using yum by running the following command:

sudo yum -y install nfs-utils

How To Uninstall nfs-utils on AlmaLinux 8

To uninstall only the nfs-utils package we can use the following command:

sudo dnf remove nfs-utils

References

Summary

In this tutorial we learn how to install nfs-utils on AlmaLinux 8 using yum and dnf.