| 1 |
.. -*- rst -*- |
| 2 |
|
| 3 |
macOS |
| 4 |
===== |
| 5 |
|
| 6 |
This section describes how to install Groonga on macOS. You can |
| 7 |
install Groonga by `MacPorts <http://www.macports.org/>`__ or |
| 8 |
`Homebrew <http://mxcl.github.com/homebrew/>`__. |
| 9 |
|
| 10 |
.. _macports: |
| 11 |
|
| 12 |
MacPorts |
| 13 |
-------- |
| 14 |
|
| 15 |
Install:: |
| 16 |
|
| 17 |
% sudo port install groonga |
| 18 |
|
| 19 |
.. _homebrew: |
| 20 |
|
| 21 |
Homebrew |
| 22 |
-------- |
| 23 |
|
| 24 |
Install:: |
| 25 |
|
| 26 |
% brew install groonga |
| 27 |
|
| 28 |
If you want to use `MeCab <https://taku910.github.io/mecab/>`_ as a |
| 29 |
tokenizer, specify ``--with-mecab`` option:: |
| 30 |
|
| 31 |
% brew install groonga --with-mecab |
| 32 |
|
| 33 |
Then install and configure MeCab dictionary. |
| 34 |
|
| 35 |
Install:: |
| 36 |
|
| 37 |
% brew install mecab-ipadic |
| 38 |
|
| 39 |
Build from source |
| 40 |
----------------- |
| 41 |
|
| 42 |
Build from source is for developers. |
| 43 |
|
| 44 |
See :doc:`/install/cmake` . |