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

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
主站蜘蛛池模板: 泸水县| 阜新| 巢湖市| 博乐市| 青海省| 科技| 东方市| 岳阳市| 综艺| 罗山县| 玉树县| 长岭县| 兴宁市| 乐东| 墨江| 金华市| 江源县| 屯门区| 新乡县| 子洲县| 巴里| 新和县| 涟源市| 五指山市| 克拉玛依市| 集安市| 漳州市| 汤原县| 临汾市| 阳高县| 阿克苏市| 报价| 崇仁县| 昌乐县| 云南省| 双流县| 丽水市| 霍城县| 郁南县| 新巴尔虎左旗| 南陵县|