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

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.

主站蜘蛛池模板: 松江区| 乌拉特中旗| 东阿县| 苍山县| 绥棱县| 安平县| 阿尔山市| 根河市| 镇安县| 林周县| 韶山市| 庆云县| 麟游县| 闽侯县| 玛沁县| 新郑市| 尤溪县| 西安市| 滁州市| 米林县| 神池县| 营山县| 湟源县| 平阴县| 新平| 永修县| 龙川县| 上思县| 田东县| 石阡县| 麟游县| 丰城市| 贡觉县| 边坝县| 沙坪坝区| 静宁县| 岐山县| 清新县| 株洲县| 高淳县| 麻栗坡县|