Skip to content

Openstack Deploying the Command Line Tools

Before we can get started we need to install a few things.

Installing Python

Installed by default on Mac OS X.

Many Linux distributions provide packages to make setuptools easy to install. Search your package manager for setuptools to find an installation package. If you cannot find one, download the setuptools package directly from https://pip.pypa.io/en/stable/installation.

The recommended way to install setuptools on Microsoft Windows is to follow the documentation provided on the setuptools website (https://pypi.python.org/pypi/setuptools).

Installing pip

MacOS

Note

Users may want to use a Virtual Environment so that they do not have any risk of hurting their default Python environment. For more information on seting up a venv please visit (https://docs.python.org/3/library/venv.html).

easy_install pip

Microsoft Windows

Ensure that the C:\Python27\Scripts directory is defined in the PATH environment variable, and use the easy_install command from the setuptools package:

C:\>easy_install pip

Ubuntu or Debian

apt-get install python-dev python-pip

Installing the Openstack Client Using Pip

pip install python-openstackclient

Note

You may want to set the PATH to you opesntack to more easily use the commands.

For further information on Openstack Command Line and Authentication please visit the upstream docs.