Install on Debian GNU/Linux

This document describes how to install PGroonga on Debian GNU/Linux.

Supported versions

Here are supported Debian GNU/Linux versions:

How to install on Debian GNU/Linux Jessie

You can use the following instruction to install PGroonga on Debian GNU/Linux Jessie.

Add APT repository for Groonga:


deb jessie main
deb-src jessie main

Install postgresql-9.4-pgroonga package:

% sudo apt-get update
% sudo apt-get install -y -V --allow-unauthenticated groonga-keyring
% sudo apt-get update
% sudo apt-get install -y -V postgresql-9.4-pgroonga

If you want to use MeCab based tokenizer, you also need to install groonga-tokenizer-mecab package:

% sudo apt-get install -y -V groonga-tokenizer-mecab

Create a database:

% sudo -u postgres -H psql --command 'CREATE DATABASE pgroonga_test'

(Normally, you should create a user for pgroonga_test database and use the user. See GRANT USAGE ON SCHEMA pgroonga for details.)

Connect to the created database and execute CREATE EXTENSION pgroonga:

% sudo -u postgres -H psql -d pgroonga_test --command 'CREATE EXTENSION pgroonga'

That's all!

Try tutorial. You can understand more about PGroonga.