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

2. Install

We will explain of how to install Groonga for each environments.

The packages for 64-bit binary are only distributed. Please attention not to distributing others for 32-bit binaly.

2.1. Debian GNU/Linux squeeze

Note

We only distribute the package for amd64.

/etc/apt/sources.list.d/groonga.list:

deb http://packages.groonga.org/debian/ squeeze main
deb-src http://packages.groonga.org/debian/ squeeze main

Install:

% sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 1C837F31
% sudo aptitude update
% sudo aptitude -V -D -y install groonga

2.2. Debian GNU/Linux wheezy

Note

We only distribute the package for amd64.

/etc/apt/sources.list.d/groonga.list:

deb http://packages.groonga.org/debian/ wheezy main
deb-src http://packages.groonga.org/debian/ wheezy main

Install:

% sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 1C837F31
% sudo aptitude update
% sudo aptitude -V -D -y install groonga

2.3. Debian GNU/Linux sid

Note

We only distribute the package for amd64.

/etc/apt/sources.list.d/groonga.list:

deb http://packages.groonga.org/debian/ unstable main
deb-src http://packages.groonga.org/debian/ unstable main

Install:

% sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 1C837F31
% sudo aptitude update
% sudo aptitude -V -D -y install groonga

2.4. Ubuntu 10.04 LTS Lucid Lynx

Note

We only distribute the package for amd64.

Note

You should specify universe section of Ubuntu for installing by add file(ex. below-mentioned).

/etc/apt/sources.list.d/groonga.list:

deb http://packages.groonga.org/ubuntu/ lucid universe
deb-src http://packages.groonga.org/ubuntu/ lucid universe

Install:

% sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 1C837F31
% sudo aptitude update
% sudo aptitude -V -D -y install groonga

2.5. Ubuntu 11.04 Natty Narwhal

Note

We only distribute the package for amd64.

Note

You should specify universe section of Ubuntu for installing by add file(ex. below-mentioned).

/etc/apt/sources.list.d/groonga.list:

deb http://packages.groonga.org/ubuntu/ natty universe
deb-src http://packages.groonga.org/ubuntu/ natty universe

Install:

% sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 1C837F31
% sudo aptitude update
% sudo aptitude -V -D -y install groonga

2.6. CentOS 5

Note

We only distribute the package for amd64.

Install:

% sudo rpm -ivh http://packages.groonga.org/centos/groonga-repository-1.0.0-0.noarch.rpm
% sudo yum update
% sudo yum install -y groonga

2.7. Fedora 15

Note

We only distribute the package for amd64.

Install:

% sudo rpm -ivh http://packages.groonga.org/fedora/groonga-repository-1.0.0-0.noarch.rpm
% sudo yum update
% sudo yum install -y groonga

2.8. Mac OS X (MacPorts)

Install:

% git clone https://github.com/groonga/macports.git ~/groonga-macports
% (echo; echo file://$HOME/groonga-macports) | sudo sh -c "cat >> /opt/local/etc/macports/sources.conf"
% sudo port install groonga

2.9. Mac OS X (Homebrew)

Install:

% brew install groonga

2.10. Windows

Note

We only distribute the package for x64.

You just download zip-file from packages.groonga.org/windows/ and extract it. We doesn't distribute installer for now. Sorry.

2.11. Others

If you will use indexes of tokenizing of each morpheme for full-text search, you should install MeCab before you install groonga.

After, you should download tar.gz-file from packages.groonga.org/source/ for installing groonga. You should extract this file in place to install, and run commands below-mentioned.

./configure --prefix=/usr --localstatedir=/var && make && sudo make install

The "prefix" option is the paramater for specified place to install. If you won't specify the option, "/usr/local" is specified. Please specify "/usr" for this option if you don't know environment variables(LD_LIBRARY_PATH and so on) well.