2.3. Debian GNU/Linux — Mroonga vmrn_version documentation

Skip to main content
`Ctrl`+`K`

# 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`.

## 2.3.1. bookworm (MariaDB)

Install:

    $ sudo apt update
    $ sudo apt install -y -V wget
    $ wget https://packages.apache.org/artifactory/arrow/debian/apache-arrow-apt-source-latest-bookworm.deb
    $ sudo apt install -y -V ./apache-arrow-apt-source-latest-bookworm.deb
    $ rm -rf apache-arrow-apt-source-latest-bookworm.deb
    $ wget https://packages.groonga.org/debian/groonga-apt-source-latest-bookworm.deb
    $ sudo apt install -y -V ./groonga-apt-source-latest-bookworm.deb
    $ rm -rf groonga-apt-source-latest-bookworm.deb
    $ sudo apt update
    $ sudo apt install -y -V mariadb-10.11-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. bookworm (with the Oracle MySQL 8.0 package)

Install:

    $ sudo apt update
    $ sudo apt install -y -V wget
    $ wget https://packages.groonga.org/debian/groonga-apt-source-latest-bookworm.deb
    $ sudo apt install -y -V ./groonga-apt-source-latest-bookworm.deb
    $ rm -rf groonga-apt-source-latest-bookworm.deb
    $ wget https://repo.mysql.com/mysql-apt-config.deb
    $ sudo env DEBIAN_FRONTEND=noninteractive MYSQL_SERVER_VERSION=mysql-8.0 apt install -y ./mysql-apt-config.deb
    $ rm -rf mysql-apt-config.deb
    $ sudo apt update
    $ sudo apt install -y -V mysql-community-8.0-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.3. trixie (MariaDB)

Install:

    $ sudo apt update
    $ sudo apt install -y -V wget
    $ wget https://packages.apache.org/artifactory/arrow/debian/apache-arrow-apt-source-latest-trixie.deb
    $ sudo apt install -y -V ./apache-arrow-apt-source-latest-trixie.deb
    $ rm -rf apache-arrow-apt-source-latest-trixie.deb
    $ wget https://packages.groonga.org/debian/groonga-apt-source-latest-trixie.deb
    $ sudo apt install -y -V ./groonga-apt-source-latest-trixie.deb
    $ rm -rf groonga-apt-source-latest-trixie.deb
    $ sudo apt update
    $ sudo apt install -y -V mariadb-11.8-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.4. trixie (with the Oracle MySQL 8.4 package)

Install:

    $ sudo apt update
    $ sudo apt install -y -V wget
    $ wget https://packages.groonga.org/debian/groonga-apt-source-latest-trixie.deb
    $ sudo apt install -y -V ./groonga-apt-source-latest-trixie.deb
    $ rm -rf groonga-apt-source-latest-trixie.deb
    $ wget https://repo.mysql.com/mysql-apt-config.deb
    $ sudo env DEBIAN_FRONTEND=noninteractive MYSQL_SERVER_VERSION=mysql-8.4-lts apt install -y ./mysql-apt-config.deb
    $ rm -rf mysql-apt-config.deb
    $ sudo apt update
    $ sudo apt install -y -V mysql-community-8.4-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