cloudstack command not found

In this troubleshooting guide we learn how to fix cloudstack command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

cloudstack: command not found

or when using sudo you get the following error message

sudo: cloudstack: command not found

Solutions to cloudstack: command not found

How To Fix cloudstack: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu cloudstack is provided by cs package.

cs is:

cs a simple, yet powerful Apache CloudStack API client written in Python and available as a command-line tool. It is a thin wrapper on top of the CloudStack API and hence it is able to adapt to any future version.

Apache CloudStack is open source software designed to deploy and manage large networks of virtual machines.

To fix this problem, we can install more using the command below.

sudo apt-get -y install cs

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install cs.

sudo apt -y install cs

Or if you have aptitude installed you can use the following command.

sudo aptitude install cs

Summary

In this tutorial we learn how to fix cloudstack command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.