Mac OS X, being a Unix-based system, offers a very similar experience to Linux systems. However, it doesn't contain an out-of-the-box, Apple-supported package management system such as yum
or apt-get
. Fortunately, there is a great third-party, open source replacement called
Homebrew (http://brew.sh/). It is a great tool, especially for users familiar with Linux package managers. I recommend it not only to manage Apache Thrift, but also other packages that you may need.
To install Homebrew, just use the clever script provided on their website:
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Alternatively, if you don't like running arbitrary code downloaded from the Internet, you can follow the step-by-step instructions at the following link, which will give you some alternatives for how to perform the installation:
https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Installation.md
When you have...