2.3. Debian GNU/Linux

This section describes how to install Mroonga related deb packages on Debian GNU/Linux. You can install them by apt.

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.3.1. stretch (MariaDB)


% sudo apt update
% sudo apt install -y -V apt-transport-https
% sudo wget -O /usr/share/keyrings/groonga-archive-keyring.gpg https://packages.groonga.org/debian/groonga-archive-keyring.gpg
% sudo tee /etc/apt/sources.list.d/groonga.list <<APT_LINE
deb [signed-by=/usr/share/keyrings/groonga-archive-keyring.gpg] https://packages.groonga.org/debian/ stretch main
deb-src [signed-by=/usr/share/keyrings/groonga-archive-keyring.gpg] https://packages.groonga.org/debian/ stretch main
% sudo apt update
% sudo apt install -y -V mariadb-server-10.1-mroonga

If you want to use MeCab as a tokenizer, install groonga-tokenizer-mecab package.

Install groonga-tokenizer-mecab package:

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