You are viewing documentation for a previous version of Platform9 products. For the latest Private Cloud Director documentation, click here.
Managed OpenStack
v5.10
×
Introduction
Getting Started
Infrastructure
Networks
Volumes and Snapshots
Images
Instances
Flavors
Tenant Administration
User Administration
Authentication & Authorization
Accessing VMs
Application Management
CLI Access
Monitoring & Alarms
Troubleshooting
Tutorials
Support
Regions
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Installing OpenStack CLI Client on Ubuntu 18.04
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
Before you install OpenStack CLI, you must install Python and the required compiler packages on Ubuntu.
Follow the steps given below to install Python and the required compiler packages.
- Update the list of available packages.
Shell
apt-get -y update- Install GNU compiler library (GCC), Python, and the dependent libraries.
Shell
apt-get -y install gcc libffi-dev libssl-dev python python-dev python-virtualenv virtualenvwrapperInstall OpenStack CLI
Follow the steps given below to install OpenStack CLI on a Ubuntu 18.04 host.
- Load virtualenv variables.
Shell
source /usr/share/virtualenvwrapper/virtualenvwrapper.sh- Create a virtual environment.
Shell
mkvirtualenv os_cli- Upgrade pip to the latest version.
Shell
pip install pip --upgrade- Run following command to set up OpenStack CLI.
Shell
pip install --upgrade --requirement https://raw.githubusercontent.com/platform9/support-locker/master/openstack-clients/requirements.txt --constraint https://raw.githubusercontent.com/openstack/requirements/stable/train/upper-constraints.txtOpenStack CLI is successfully installed, and ready to be used on the Ubuntu host.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated by Pooja Ghumre on Jan 12, 2024
Was this page helpful?
Next to read:
Installing OpenStack CLI on WindowsDiscard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message