aodh-api command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
aodh-api: command not found
or when using sudo you get the following error message
sudo: aodh-api: command not found
Solutions to aodh-api: command not found
How To Fix aodh-api: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu aodh-api is provided by python3-aodh package.
python3-aodh is:
Ceilometer aims to deliver a Single Point Of Contact for billing systems, providing all the counters they need to establish customer billing, across all current and future OpenStack components. The delivery of counters must be traceable and auditable, the counters must be easily extensible to support new projects, and agents doing data collections should be independent of the overall system.
(A ceilometer is an instrument that measures cloud coverage.)
This package contains the Python 3 libraries that are needed for all parts of Aodh.
To fix this problem, we can install more using the command below.
sudo apt-get -y install python3-aodh
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install python3-aodh.
sudo apt -y install python3-aodh
Or if you have aptitude installed you can use the following command.
sudo aptitude install python3-aodh
Summary
In this tutorial we learn how to fix aodh-api command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.