Homebrew is a package manager for OSX. It is able to download, build, and install applications, including their dependencies. The following sections will describe what you will need to do to use Homebrew to install Csound 6.
Note: At this time, this method of installing Csound is currently being tested. It is considered beta, and users should be aware that there may be some issues that will be required to be worked through.
You will first need to have a working Homebrew setup. This requires installing Xcode and the Xcode Command-Line tools. More information on installing Homebrew is available on the Homebrew website as well as their wiki.
In particular, you will need to be mindful to enable user read/write for three directories: "/usr/local", "/Library/Python/2.7/site-packages", and "/Library/Java/Extensions". These need to be writable by the user as Csound will need to install packages into each of those folders. Running the following commands at a Terminal prompt should allow you to do this:
sudo chmod +a 'user:YOUR_NAME_HERE allow add_subdirectory,add_file,delete_child,directory_inherit' /Library/Python/2.7/site-packages sudo chmod +a 'user:YOUR_NAME_HERE allow add_subdirectory,add_file,delete_child,directory_inherit' /Library/Java/Extensions
where YOUR_NAME_HERE refers to your system username.
Homebrew has a central repository, but it also allows for adding "taps", which are additional repositories. A Csound tap has been setup at https://github.com/kunstmusik/homebrew-csound. You can tap into it by using the following command:
brew tap kunstmusik/csound
Once Homebrew is setup and the csound tap has been tapped, run the following command at the commandline to install Csound:
brew install --HEAD csound
There is currently a warning issued when Csound installs:
Warning: Could not fix CsoundLib64.framework/Versions/6.0/CsoundLib64 in /usr/local/Cellar/csound/HEAD/bin/srconv Warning: Could not fix CsoundLib64.framework/Versions/6.0/CsoundLib64 in /usr/local/Cellar/csound/HEAD/bin/sndinfo Warning: Could not fix CsoundLib64.framework/Versions/6.0/CsoundLib64 in /usr/local/Cellar/csound/HEAD/bin/scsort Warning: Could not fix CsoundLib64.framework/Versions/6.0/CsoundLib64 in /usr/local/Cellar/csound/HEAD/bin/scope ....
This is due to how the CsoundLib64.framework is installed into ~/Library/Frameworks and bypasses Homebrew's installation path for Frameworks. This is a known issue and will be looked into.