magnum command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
magnum: command not found
or when using sudo you get the following error message
sudo: magnum: command not found
Solutions to magnum: command not found
How To Fix magnum: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu magnum is provided by python3-magnumclient package.
python3-magnumclient is:
Magnum is an OpenStack API service developed by the OpenStack Containers Team making container orchestration engines such as Docker and Kubernetes available as first class resources in OpenStack. Magnum uses Heat to orchestrate an OS image which contains Docker and Kubernetes and runs that image in either virtual machines or bare metal in a cluster configuration.
This package contains the Python 3.x module.
To fix this problem, we can install more using the command below.
sudo apt-get -y install python3-magnumclient
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install python3-magnumclient.
sudo apt -y install python3-magnumclient
Or if you have aptitude installed you can use the following command.
sudo aptitude install python3-magnumclient
Summary
In this tutorial we learn how to fix magnum command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.