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

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
主站蜘蛛池模板: 清苑县| 西丰县| 中方县| 章丘市| 华阴市| 泗水县| 温泉县| 屏东市| 成都市| 南汇区| 岳池县| 崇文区| 德安县| 雷波县| 峨山| 托克托县| 望奎县| 湘潭县| 鲁甸县| 德惠市| 信宜市| 中牟县| 会理县| 旬邑县| 黔东| 五大连池市| 东乡县| 青川县| 观塘区| 曲周县| 大埔区| 城口县| 渑池县| 鹤壁市| 嫩江县| 葵青区| 双辽市| 五家渠市| 江川县| 秭归县| SHOW|