- Ansible Quick Start Guide
- Mohamed Alibi
- 159字
- 2021-07-23 16:37:42
Python PyPI installation
To be able to install Ansible using PyPI, we first need to have PyPI installed. It can be easily installed using most package managers, some of which are outlined in the following section.
The Red Hat Yum installation is implemented as follows:
sudo yum install -y python-pip
The Debian APT installation uses the following command:
sudo apt install -y python-pip
For other Linux systems, using Python:
sudo easy_install pip
The Mac OS X Homebrew installation is as follows:
brew install python-pip
From the PyPI repository, by having PyPI installed:
sudo pip install ansible
We can also use a GitHub source to get the latest development version:
sudo pip install git+https://github.com/ansible/ansible.git@devel
To choose a specific version of Ansible using PyPI, we can use the following command: sudo pip install ansible==2.4.0. To upgrade the latest version, we can add the --upgrade option so the command looks as follows: sudo pip install ansible --upgrade.
推薦閱讀
- 返璞歸真:UNIX技術內幕
- Multimedia Programming with Pure Data
- Ceph:Designing and Implementing Scalable Storage Systems
- 運動控制系統應用與實踐
- 悟透JavaScript
- Red Hat Linux 9實務自學手冊
- 網站入侵與腳本攻防修煉
- INSTANT Heat Maps in R:How-to
- 從零開始學SQL Server
- 單片機原理實用教程
- Learn QGIS
- 筆記本電腦電路分析與故障診斷
- 與人共融機器人的關節力矩測量技術
- 工業機器人集成應用
- Hands-On Business Intelligence with Qlik Sense