Skip to main content
`Ctrl`+`K`

# 2.7. Oracle Linux

This section describes how to install Groonga related RPM packages on Oracle Linux OS. You can install them by `dnf`.

We distribute only 64-bit packages.

Note

`groonga` package is the minimum set of fulltext search engine. If you want to use Groonga for server use, you can install additional preconfigured packages.

There are two packages for server use.

- groonga-httpd (nginx and HTTP protocol based server package)

- groonga-server-gqtp (GQTP protocol based server package)

See Server section about details.

## 2.7.1. Oracle Linux 9

Install

    % sudo dnf install -y https://apache.jfrog.io/artifactory/arrow/almalinux/9/apache-arrow-release-latest.rpm
    % sudo dnf install -y https://packages.groonga.org/oracle-linux/9/groonga-release-latest.noarch.rpm
    % sudo dnf install -y --enablerepo=ol9_codeready_builder groonga

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

Install groonga-tokenizer-mecab package:

    % sudo dnf install -y --enablerepo=epel groonga-tokenizer-mecab

## 2.7.2. Oracle Linux 8

Install:

    % sudo dnf install -y https://apache.jfrog.io/artifactory/arrow/almalinux/8/apache-arrow-release-latest.rpm
    % sudo dnf install -y https://packages.groonga.org/oracle-linux/8/groonga-release-latest.noarch.rpm
    % sudo dnf install -y --enablerepo=ol8_codeready_builder groonga

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

Install groonga-tokenizer-mecab package:

    % sudo dnf install -y --enablerepo=epel groonga-tokenizer-mecab

## 2.7.3. Build from source

Install required packages to build Groonga:

    % sudo dnf install -y https://packages.groonga.org/oracle-linux/8/groonga-release-latest.noarch.rpm
    % sudo dnf install -y wget gcc-c++ make mecab-devel

Download source:

    % wget https://packages.groonga.org/source/groonga/groonga-13.0.1.tar.gz
    % tar xvzf groonga-13.0.1.tar.gz
    % cd groonga-13.0.1

Configure (see configure about `configure` options):

    % ./configure

Build:

    % make -j$(nproc)

Install:

    % sudo make install