<commit_before>.. highlightlang:: none

Debian GNU/Linux
================

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

.. include:: 32bit-note.inc

jessie (MySQL)
--------------

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

  deb https://packages.groonga.org/debian/ jessie main
  deb-src https://packages.groonga.org/debian/ jessie main

Install::

  % sudo apt-get install apt-transport-https
  % sudo apt-get update
  % sudo apt-get install -y --allow-unauthenticated groonga-keyring
  % sudo apt-get update
  % sudo apt-get install -y -V mysql-server-mroonga

If you want to use `MeCab <http://mecab.sourceforge.net/>`_ as a tokenizer, install groonga-tokenizer-mecab package.

Install groonga-tokenizer-mecab package::

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

jessie (MariaDB)
----------------

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

  deb https://packages.groonga.org/debian/ jessie main
  deb-src https://packages.groonga.org/debian/ jessie main

Install::

  % sudo apt-get install apt-transport-https
  % sudo apt-get update
  % sudo apt-get install -y --allow-unauthenticated groonga-keyring
  % sudo apt-get update
  % sudo apt-get install -y -V mariadb-server-10.0-mroonga

If you want to use `MeCab <http://mecab.sourceforge.net/>`_ as a tokenizer, install groonga-tokenizer-mecab package.

Install groonga-tokenizer-mecab package::

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

stretch (MariaDB)
-----------------

/etc/apt/sources.list.d/groonga.list::<commit_msg>doc: drop jessie support<commit_after>.. highlightlang:: none

Debian GNU/Linux
================

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

.. include:: 32bit-note.inc

stretch (MariaDB)
-----------------

/etc/apt/sources.list.d/groonga.list::
{'fraction_non_alphanumeric': 0.16228991596638656, 'fraction_numerical': 0.003676470588235294, 'mean_word_length': 3.2146017699115044, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4599549', 'n_tokens_mistral': 692, 'n_tokens_neox': 651, 'n_words': 172}