Installation

Installing Manticore Search as a Docker image

Docker images of Manticore Search are publicly available on Docker Hub built from Manticore Search docker GitHub repository.

To fetch Manticore image execute:

  1. docker pull manticoresearch/manticore

See Using Manticore in Docker for more details about using Manticore in Docker.

Installing Manticore packages on RedHat and CentOS

Supported releases:

  • CentOS 7, RHEL 7, Oracle Linux 7
  • CentOS 8, RHEL 8, Oracle Linux 8, CentOS Stream 8
  • Amazon Linux 2
  • CentOS 9, RHEL 9, AlmaLinux 9

YUM repository

The easiest way to install Manticore in RedHat/Centos is by using our YUM repository:

Install the repository:

  1. sudo yum install https://repo.manticoresearch.com/manticore-repo.noarch.rpm

Then install Manticore Search:

  1. sudo yum install manticore manticore-extra

If you are upgrading to Manticore 6 from an older version, it is recommended to remove your old packages first to avoid conflicts caused by the updated package structure:

  1. sudo yum remove manticore*

It won’t remove your data and configuration file.

Development packages

If you prefer “Nightly” (development) versions do:

  1. sudo yum install https://repo.manticoresearch.com/manticore-repo.noarch.rpm
  2. sudo yum --enablerepo manticore-dev install manticore manticore-extra manticore-columnar-lib manticore-server-core-debuginfo manticore-tools-debuginfo manticore-columnar-lib-debuginfo

Standalone RPM packages

To download standalone RPM files from the Manticore repository, follow the instructions available at https://manticoresearch.com/install/.

More packages you may need

For indexer

If you plan to use indexer to create tables from external sources, you’ll need to make sure you have installed corresponding client libraries in order to make available of indexing sources you want. The line below will install all of them at once; feel free to use it as is, or to reduce it to install only libraries you need (for only mysql sources - just mysql-libs should be enough, and unixODBC is not necessary).

  1. sudo yum install mysql-libs postgresql-libs expat unixODBC

In CentOS Stream 8 you may need to run:

  1. dnf install mariadb-connector-c

if you get error sql_connect: MySQL source wasn't initialized. Wrong name in dlopen? trying to build a plain table from MySQL.

Ukrainian lemmatizer

The lemmatizer requires Python 3.9+. Make sure you have it installed and that it’s configured with --enable-shared.

Here’s how to install Python 3.9 and the Ukrainian lemmatizer in Centos 7/8:

  1. # install Manticore Search and UK lemmatizer from YUM repository
  2. yum -y install https://repo.manticoresearch.com/manticore-repo.noarch.rpm
  3. yum -y install manticore manticore-lemmatizer-uk
  4. # install packages needed for building Python
  5. yum groupinstall "Development Tools" -y
  6. yum install openssl-devel libffi-devel bzip2-devel wget -y
  7. # download, build and install Python 3.9
  8. cd ~
  9. wget https://www.python.org/ftp/python/3.9.2/Python-3.9.2.tgz
  10. tar xvf Python-3.9.2.tgz
  11. cd Python-3.9*/
  12. ./configure --enable-optimizations --enable-shared
  13. make -j8 altinstall
  14. # update linker cache
  15. ldconfig
  16. # install pymorphy2 and UK dictionary
  17. pip3.9 install pymorphy2[fast]
  18. pip3.9 install pymorphy2-dicts-uk