mount.9P command not found

In this troubleshooting guide we learn how to fix mount.9P command not found error message

Introduction

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

mount.9P: command not found

or when using sudo you get the following error message

sudo: mount.9P: command not found

Solutions to mount.9P: command not found

How To Fix mount.9P: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu mount.9P is provided by nfs-ganesha-mount-9p package.

nfs-ganesha-mount-9p is:

NFS-GANESHA is a NFS Server running in user space with a large cache. It comes with various backend modules to support different file systems and namespaces. Supported name spaces are POSIX, PROXY, SNMP, FUSE-like, HPSS, LUSTRE, XFS and ZFS.

This package contains mount.9P

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

sudo apt-get -y install nfs-ganesha-mount-9p

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

You can also use apt command to install nfs-ganesha-mount-9p.

sudo apt -y install nfs-ganesha-mount-9p

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

sudo aptitude install nfs-ganesha-mount-9p

Summary

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