MonetDB Download Area for Mac OS X

This directory contains archived binaries for various versions of OS X. Before you install the package check the release notes to determine if a dump/restore action is required on your database. All commands on this page should be executed as superuser (root). You may be able to add sudo in front of every command, or else run SU first.

There are multiple ways to install the latest release of MonetDB on OS X.

From Archive

First download the latest released version on MonetDB from the link below. Make sure you pick the right one for your architecture.

Unpack the archive in a location of your discretion.

tar xf <filename>

Next, you can link the usr/local/monetdb directory from the archive to your /usr/local/monetdb. The archive comes prebuilt for the selected platform and has a directory structure mimicking the location where it should generally be installed: /usr/local/monetdb.

ln -s usr/local/monetdb /usr/local/monetdb

Finally make sure to add the MonetDB bin directory to your PATH in your shell config (.profile or .bash_rc):

export PATH=/usr/local/monetdb/bin:$PATH

From Homebrew

First, install Xcode Command Line tools. To do that run the following command in Terminal:

xcode-select --install

Next you will need to install Homebrew. More information on Homebrew is available here.

Finally install MonetDB from the formula on the Homebrew repository. Homebrew will download the latest released version (along with any dependencies), configure it for your system and build it.

brew install monetdb

If you want to install additional MonetDB modules, you can pass them as parameters when running brew install. Homebrew will then install the required dependencies and configure build the specified MonetDB modules on your system. For example, running the command below will install MonetDB and most additional modules with dependencies currently available via Homebrew.

You can also install the MonetDB/R module via Homebrew. Note: For the installation to work, you need to have R installed on your system.

brew install monetdb --with-r

To get the full list of options and available to configure, run brew info monetdb.

Troubleshooting

Homebrew is designed to install software on your computer without the need or admin permissions, so no sudo. This can actually be an issue if you had a prior version of MonetDB built and installed manually using admin permission. As Homebrew will tries to link the binaries in the /usr/bin directory, the installation might fail. If you encounter such an issue, carefully, manually remove the offending files, you won't be needing anyways, since you will be reinstalling MonetDB. Homebrew will be unable to do this for you since it rung underprivileged.