Translations:OpenStack command line clients/22/en

From Alliance Doc
Revision as of 14:22, 10 November 2016 by Fuzzybot (talk | contribs) (Importing a new version from external source)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Installation

If you have administrative privileges on the machine you will run these from (e.g. your desktop) you can do

[name@server ~]$ sudo apt-get install python-dev python-pip
[name@server ~]$ sudo pip install python-openstackclient

To install on a machine without administrative privileges (provided pip is already installed) use:

Question.png
[name@server ~]$  pip install --user python-openstackclient

which installs to ~/.local/lib/pythonX.Y/site-packages/. You may wish to add export PATH=${HOME}/.local/bin:${PATH} to your .bashrc file in this case so you can run the OpenStack commands directly.