| 1 |
.. -*- rst -*- |
| 2 |
|
| 3 |
Amazon Linux |
| 4 |
============ |
| 5 |
|
| 6 |
This section describes how to install Groonga related RPM packages on |
| 7 |
Amazon Linux. You can install them by ``dnf``. |
| 8 |
|
| 9 |
Amazon Linux 2023 |
| 10 |
----------------- |
| 11 |
|
| 12 |
Install: |
| 13 |
|
| 14 |
.. code-block:: console |
| 15 |
|
| 16 |
$ sudo dnf install -y https://apache.jfrog.io/artifactory/arrow/amazon-linux/$(cut -d: -f6 /etc/system-release-cpe)/apache-arrow-release-latest.rpm |
| 17 |
$ sudo dnf install -y https://packages.groonga.org/amazon-linux/2023/groonga-release-latest.noarch.rpm |
| 18 |
$ sudo dnf install -y groonga |
| 19 |
|
| 20 |
.. include:: server-use.rst |
| 21 |
|
| 22 |
You can't install groonga-tokenizer-mecab package in Amazon Linux 2023. |
| 23 |
Because Amazon Linux 2023 doesn't provide `MeCab <https://taku910.github.io/mecab/>`_ package. |
| 24 |
|
| 25 |
If you want to use :doc:`/reference/token_filters/token_filter_stem`, install groonga-token-filter-stem package. |
| 26 |
|
| 27 |
Install groonga-token-filter-stem package: |
| 28 |
|
| 29 |
.. code-block:: console |
| 30 |
|
| 31 |
$ sudo dnf install -y groonga-token-filter-stem |
| 32 |
|
| 33 |
There is a package that provides MySQL compatible normalizer as a |
| 34 |
Groonga plugin. If you want to use that one, install |
| 35 |
groonga-normalizer-mysql package. |
| 36 |
|
| 37 |
Install groonga-normalizer-mysql package: |
| 38 |
|
| 39 |
.. code-block:: console |
| 40 |
|
| 41 |
$ sudo dnf install -y groonga-normalizer-mysql |
| 42 |
|
| 43 |
Build from source |
| 44 |
----------------- |
| 45 |
|
| 46 |
Build from source is for developers. |
| 47 |
|
| 48 |
See :doc:`/install/cmake` . |