fauxhai command not found
In this troubleshooting guide we learn how to fix fauxhai command not found error message
Introduction
When you run more command in linux terminal / console, you get the following error message
fauxhai: command not found
or when using sudo you get the following error message
sudo: fauxhai: command not found
Solutions to fauxhai: command not found
How To Fix fauxhai: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu fauxhai is provided by ruby-fauxhai package.
ruby-fauxhai is:
Fauxhai provides an easy way to mock out your ohai data for testing with chefspec!
To fix this problem, we can install more using the command below.
sudo apt-get -y install ruby-fauxhai
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ruby-fauxhai.
sudo apt -y install ruby-fauxhai
Or if you have aptitude installed you can use the following command.
sudo aptitude install ruby-fauxhai
Summary
In this tutorial we learn how to fix fauxhai command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.