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

Getting set up on OS X

OS X already has a full command-line system installed using bash as the default shell. To access this shell, click the magnifying glass in the upper-right corner and type terminal in the dialog box:

This will open a bash Terminal:

As in other bash shells, this Terminal doesn't have everything installed, so type the following commands to install the requisite installers and command-line tools that we'll be using in this book:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install jq sqlite gnuplot python netcat bc
pip3 install pandas

On OS X, this script installs a few installation tools, including pip and homebrew. It then uses these tools to install the commands that we use in this book that aren't natively installed, namely jq, gnuplot, sqlite, and pandas.

One thing to look out for in OS X is that certain standard tools are built a little differently than the ones that come with Debian-based systems like the rest of the systems we talk about in this chapter. In some circumstances, OS X tools work slightly differently or have different options. Where this is the case we have noted it in the text.

主站蜘蛛池模板: 子长县| 迁安市| 青阳县| 尼勒克县| 政和县| 图木舒克市| 万全县| 华安县| 三河市| 额尔古纳市| 滁州市| 河间市| 绥江县| 营口市| 中阳县| 南雄市| 石柱| 临武县| 文安县| 临安市| 南安市| 巴塘县| 莒南县| 高陵县| 邮箱| 梅河口市| 桂平市| 赤水市| 元阳县| 西林县| 汉川市| 襄樊市| 鄄城县| 神农架林区| 开封县| 仙居县| 盐亭县| 平南县| 四会市| 诏安县| 鹤庆县|