OpenStackClient is a command-line client for OpenStack that brings the command set for many services (for example, Compute, Identity, Image, Object Storage and others) together in a single shell with a uniform command structure.
The recommended method of installation is by using
pip, but you can also install from a Linux distribution’s package manager (e.g. apt with Ubuntu), but you may not get the latest version.
Install the OpenStack Client with pip
Begin by installing the
pip package for your operating system.
Depending on your distrubution, the package installation method will vary.
Debian, the pip package could be installed by:
apt install python-dev python-pip
Red Hat Enterprise Linux,
yum install python-devel python-pip
Mac OS users can use the
Ensure that the
C:\Python27\Scripts directory is defined in the
PATH environment variable, and use the
easy_install command from the setuptools package:
Finally, install the OpenStack client package
pip is set up, you can install the client package with:
pip install python-openstackclient
Alternative: Install the OpenStack client package for your Linux distribution
It is only recommended to use this method if you are using the latest version of your Linux distribution.
Debian, the OpenStack client package could be installed by:
apt install python3-openstackclient