rpc.rstatd command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
rpc.rstatd: command not found
or when using sudo you get the following error message
sudo: rpc.rstatd: command not found
Solutions to rpc.rstatd: command not found
How To Fix rpc.rstatd: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu rpc.rstatd is provided by rstatd package.
rstatd is:
This allows other machines on your local network to get information about your computer - especially uptime. This will allow you to use the rup(1) command.
To fix this problem, we can install more using the command below.
sudo apt-get -y install rstatd
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install rstatd.
sudo apt -y install rstatd
Or if you have aptitude installed you can use the following command.
sudo aptitude install rstatd
Summary
In this tutorial we learn how to fix rpc.rstatd command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.