nfsdclnts command not found

In this troubleshooting guide we learn how to fix nfsdclnts command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

nfsdclnts: command not found

or when using sudo you get the following error message

sudo: nfsdclnts: command not found

Solutions to nfsdclnts: command not found

How To Fix nfsdclnts: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu nfsdclnts is provided by nfs-kernel-server package.

nfs-kernel-server is:

The NFS kernel server is currently the recommended NFS server for use with Linux, featuring features such as NFSv3 and NFSv4, Kerberos support via GSS, and much more. It is also significantly faster and usually more reliable than the user-space NFS servers (from the unfs3 and nfs-user-server packages). However, it is more difficult to debug than the user-space servers, and has a slightly different feature set.

This package contains the user-space support needed to use the NFS kernel server. Most administrators wishing to set up an NFS server would want to install this package.

To fix this problem, we can install more using the command below.

sudo apt-get -y install nfs-kernel-server

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install nfs-kernel-server.

sudo apt -y install nfs-kernel-server

Or if you have aptitude installed you can use the following command.

sudo aptitude install nfs-kernel-server

Summary

In this tutorial we learn how to fix nfsdclnts command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.