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)

Install:

% sudo apt update
% sudo apt install -y -V wget
% wget https://packages.groonga.org/debian/groonga-apt-source-latest-stretch.deb
% sudo apt install -y -V ./groonga-apt-source-latest-stretch.deb
% 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

2.3.2. buster (MariaDB)

Install:

% sudo apt update
% sudo apt install -y -V apt-transport-https
% sudo apt install -y -V wget
% wget https://packages.groonga.org/debian/groonga-apt-source-latest-buster.deb
% sudo apt install -y -V ./groonga-apt-source-latest-buster.deb
% sudo apt update
% sudo apt install -y -V mariadb-server-10.3-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