Translations:OpenStack command line clients/22/en: Difference between revisions
Jump to navigation
Jump to search
(Importing a new version from external source) |
(No difference)
|
Revision as of 14:22, 10 November 2016
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:
[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.