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

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.

主站蜘蛛池模板: 德保县| 新闻| 栾城县| 和田县| 金乡县| 突泉县| 富顺县| 景德镇市| 湾仔区| 禹城市| 永昌县| 镇原县| 嘉荫县| 江北区| 南部县| 高雄县| 庆云县| 巢湖市| 揭西县| 金坛市| 杭锦后旗| 海安县| 正定县| 镇雄县| 墨竹工卡县| 南丹县| 高安市| 招远市| 垫江县| 柘城县| 庐江县| 炎陵县| 溧阳市| 天水市| 渝中区| 濮阳县| 五常市| 梅州市| 绥芬河市| 澄城县| 包头市|