nova command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
nova: command not found
or when using sudo you get the following error message
sudo: nova: command not found
Solutions to nova: command not found
How To Fix nova: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu nova is provided by python3-novaclient package.
python3-novaclient is:
OpenStack Compute, codenamed Nova, is a cloud computing fabric controller designed to be modular and easy to extend and adapt. In addition to its “native” OpenStack API, it also supports the Amazon EC2 API, and it supports many different database backends (including SQLite, MySQL, and PostgreSQL), hypervisors (KVM, Xen), and user directory systems (LDAP, SQL).
Python novaclient library and nova CLI tool for interacting with OpenStack Compute (Nova) through the OpenStack Compute API.
This package provides the Python 3.x module.
To fix this problem, we can install more using the command below.
sudo apt-get -y install python3-novaclient
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install python3-novaclient.
sudo apt -y install python3-novaclient
Or if you have aptitude installed you can use the following command.
sudo aptitude install python3-novaclient
Summary
In this tutorial we learn how to fix nova command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.