Translations:OpenStack command line clients/22/en: Difference between revisions
Jump to navigation
Jump to search
150 bytes removed
, 7 years ago
|
|
Line 1: |
Line 1: |
| ==Installation== | | ==Installation== |
| If you have administrative privileges on the machine you will run these from (e.g. your desktop) you can do
| | 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 [http://docs.openstack.org/cli-reference/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. |
| {{commands|sudo apt-get install python-dev python-pip|sudo pip install python-openstackclient}}
| |
| To install on a machine without administrative privileges (provided [https://pip.pypa.io/en/latest/installing/ pip] is already installed) use:{{command| pip install --user python-openstackclient}}
| |
| which installs to <code>~/.local/lib/pythonX.Y/site-packages/</code>. You may wish to add <code>export PATH=${HOME}/.local/bin:${PATH}</code> to your <code>.bashrc</code> file in this case so you can run the OpenStack commands directly.
| |