2.4. Ubuntu — Mroonga vmrn_version documentation

Skip to main content
`Ctrl`+`K`

# 2.4. Ubuntu

This section describes how to install Mroonga related deb packages on Ubuntu. You can install them by `apt`.

## 2.4.1. PPA (Personal Package Archive)

The Mroonga APT repository for Ubuntu uses PPA (Personal Package Archive) on Launchpad. You can install Mroonga by APT from the PPA.

Here are supported Ubuntu versions:

- 22.04 Jammy Jellyfish

- 24.04 Noble Numbat

Here are Ubuntu versions that supports MySQL:

- 22.04 Jammy Jellyfish

- 24.04 Noble Numbat

Here are Ubuntu versions that supports MariaDB:

- 22.04 Jammy Jellyfish

- 24.04 Noble Numbat

Enable the universe repository and the security update repository to install Mroonga:

    % sudo apt-get install -y -V software-properties-common lsb-release
    % sudo add-apt-repository -y universe
    % sudo add-apt-repository "deb http://security.ubuntu.com/ubuntu $(lsb_release --short --codename)-security main restricted"

Add the `ppa:groonga/ppa` PPA to your system:

    % sudo add-apt-repository -y ppa:groonga/ppa
    % sudo apt-get update

Install Mroonga for MySQL:

    % sudo apt-get install -y -V mysql-server-mroonga

Install Mroonga for MariaDB:

    % sudo apt-get install -y -V mariadb-server-mroonga

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

Install groonga-tokenizer-mecab package:

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