- 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.
推薦閱讀
- 大學(xué)計(jì)算機(jī)信息技術(shù)導(dǎo)論
- Word 2000、Excel 2000、PowerPoint 2000上機(jī)指導(dǎo)與練習(xí)
- 大數(shù)據(jù)技術(shù)基礎(chǔ)
- Python Artificial Intelligence Projects for Beginners
- Hadoop 2.x Administration Cookbook
- 人工智能工程化:應(yīng)用落地與中臺(tái)構(gòu)建
- 現(xiàn)代機(jī)械運(yùn)動(dòng)控制技術(shù)
- Associations and Correlations
- Windows 7寶典
- 21天學(xué)通Visual C++
- 西門(mén)子變頻器技術(shù)入門(mén)及實(shí)踐
- 新編計(jì)算機(jī)圖形學(xué)
- 手機(jī)游戲策劃設(shè)計(jì)
- Hands-On Business Intelligence with Qlik Sense
- Machine Learning in Java