官术网_书友最值得收藏!

macOS X package installation

Installing Ansible on the MAC OS X system can be achieved using one of two tools. The first, which uses Python PyPI, is described in the following section. The second uses the Mac OS X open source package management system Homebrew (brew.sh). In this section, we will be describing how to install Ansible using Homebrew.

To be able to use Homebrew, we first need to make sure it is installed, as it is not a default system application. You need to build it into the system using a Ruby compiler. For that, you also need to install Xcode (found here: developer.apple.com/xcode/) and accept its user license. We then run the following command on its Terminal:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

This command may take some time depending on your internet access and computer speed.

We can then use Homebrew to install Ansible:

brew install ansible
主站蜘蛛池模板: 万盛区| 涞水县| 静海县| 宕昌县| 玛多县| 娄底市| 延津县| 宁河县| 南岸区| 遂川县| 大庆市| 故城县| 中宁县| 胶南市| 永昌县| 咸宁市| 西乌珠穆沁旗| 武强县| 呼伦贝尔市| 镇康县| 麻栗坡县| 双城市| 临沂市| 特克斯县| 四子王旗| 万年县| 荣昌县| 西畴县| 尼木县| 雷山县| 波密县| 西林县| 临沧市| 平舆县| 福安市| 淅川县| 桑植县| 大竹县| 宝鸡市| 新野县| 饶阳县|