# groonga - An open-source fulltext search engine and column store.

- 日本語版はこちら

# 2.2. Mac OS X

This section describes how to install groonga on Mac OS X. You can install groonga by MacPorts or Homebrew.

We distribute both 32-bit and 64-bit packages but we strongly recommend a 64-bit package for server. You should use a 32-bit package just only for tests or development. You will encounter an out of memory error with a 32-bit package even if you just process medium size data.

## 2.2.1. MacPorts

Install:

    % sudo port install groonga

## 2.2.2. Homebrew

Install:

    % brew install groonga

## 2.2.3. Build from source

Install Xcode.

Download source:

    % curl -O http://packages.groonga.org/source/groonga/groonga-4.0.0.tar.gz
    % tar xvzf groonga-4.0.0.tar.gz
    % cd groonga-4.0.0

Configure (see configure about `configure` options):

    % ./configure

Build:

    % make -j$(/usr/sbin/sysctl -n hw.ncpu)

Install:

    % sudo make install