Translations:OpenStack command line clients/22/en: Difference between revisions

From Alliance Doc
Jump to navigation Jump to search
(Importing a new version from external source)
(No difference)

Revision as of 14:22, 10 November 2016

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (OpenStack command line clients)
==Installation==
The OpenStack command lines tools are Python-based. You can install and run them on your personal computer or on a cloud VM. Different Linux distributions may have pre-built packages for the client, see the OpenStack [https://docs.openstack.org/user-guide/common/cli-install-openstack-command-line-clients.html installation documentation] for more details. You can quickly install both Python and the OpenStack command line tools, if you have administrative privileges on your machine.

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.