Install GNU and non-GNU Tools via Homebrew

(This article was first published on Pachá (Batteries Included), and kindly contributed to R-bloggers)

Why should you do this?

On Install R and Python via Homebrew I described some potential problems when using R or Python libraries.

After doing a fresh OS X install I had some problems with \(\LaTeX\) and XQuartz. The root of the problem is directories location that is easily solved with Homebrew as it doesn’t touch the system and provides symlinks for its packages.

What do you need to do this?

You’ll need Homebrew and XCode installed. How to do that? check these links

Its possible to install just Command Line Tools for XCode from Apple Developers instead of full XCode. The script below contains a line to install that.

How do you do this?

This script will install coreutils, bash, git and more updated tools.

Don’t forget to read How to install and codesign GDB on OS X El Capitan
to make it work.

To leave a comment for the author, please follow the link and comment on their blog: Pachá (Batteries Included). offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Search R-bloggers


Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)