nodeattr command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
nodeattr: command not found
or when using sudo you get the following error message
sudo: nodeattr: command not found
Solutions to nodeattr: command not found
How To Fix nodeattr: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu nodeattr is provided by genders package.
genders is:
Genders is a static cluster configuration database used for cluster configuration management. It is used by a variety of tools and scripts for management of large clusters. The genders database is typically replicated on every node of the cluster. It describes the layout and configuration of the cluster so that tools and scripts can sense the variations of cluster nodes. By abstracting this information into a plain text file, it becomes possible to change the configuration of a cluster by modifying only one file.
To fix this problem, we can install more using the command below.
sudo apt-get -y install genders
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install genders.
sudo apt -y install genders
Or if you have aptitude installed you can use the following command.
sudo aptitude install genders
Summary
In this tutorial we learn how to fix nodeattr command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.