# Install Manticore Search

Install Manticore Search: easy to use open source fast database for search. Modern, fast, light-weight, outstanding full-text search capabilities

## Manticore Search 5.0.0

### Package managers
{{< tabs >}}
  {{< tab "APT" >}}
  ### Install Manticore Search on Debian, Ubuntu and Linux Mint using APT

  In case you are upgrading to Manticore 5 it's recommended to remove your old packages first since package structure changed in Manticore 5:
  ```bash
  sudo apt remove manticore*
  ```
  It won't remove your data or configuration file.

  Install the APT repository and the new version:
  ``` bash
  wget https://repo.manticoresearch.com/manticore-repo.noarch.deb
  sudo dpkg -i manticore-repo.noarch.deb
  sudo apt update
  sudo apt install manticore manticore-columnar-lib
  ```

  ### Start Manticore

  ``` bash
  sudo systemctl start manticore
  ```

  Read more about Manticore Search's APT repo in the [documentation](https://manual.manticoresearch.com/Installation/Debian_and_Ubuntu#Installing-Manticore-in-Debian-or-Ubuntu).
  {{< /tab >}}

  {{< tab "YUM" >}}
  ### Install Manticore Search on Centos, RHEL and Oracle Linux using YUM

  In case you are upgrading to Manticore 5 it's recommended to remove your old packages first since package structure changed in Manticore 5:
  ```bash
  sudo yum remove manticore*
  ```
  It won't remove your data or configuration file.

  Install the YUM repository and the new version:
  ``` bash
  sudo yum install https://repo.manticoresearch.com/manticore-repo.noarch.rpm
  sudo yum install manticore manticore-columnar-lib
  ```

  ### Run

  ``` bash
  sudo systemctl start manticore
  ```

  Read more about Manticore Search's YUM repo in the [documentation](https://manual.manticoresearch.com/Installation/RHEL_and_Centos#Installing-Manticore-packages-on-RedHat-and-CentOS).
  {{< /tab >}}

  {{< tab "Homebrew for MacOS (x86)" >}}
  ### Install Manticore Search on MacOS (Intel) using Homebrew (version 4.2.0)

  ``` bash
  brew install manticoresoftware/manticore/manticoresearch
  ```

  ### Run

  ``` bash
  brew services start manticoresearch
  ```

  Read more about Manticore Search's Homebrew package in [documentation](https://manual.manticoresearch.com/Installation/MacOS#Via-Homebrew-package-manager).
  {{< /tab >}}

  {{< tab "Docker" >}}
  ### Run Manticore Search in docker just to play with it (non-production usage)

  ``` bash
  docker run --name manticore --rm -d manticoresearch/manticore && sleep 3 && docker exec -it manticore mysql && docker stop manticore
  ```

  {{< notice "info" >}}
  Note, Manticore container will be stopped as soon as you exit the mysql client and no data will be saved.
  {{< /notice >}}

  ### Run Manticore Search in Docker to use in production

  ``` bash
  docker run --name manticore -v $(pwd)/data:/var/lib/manticore -p 127.0.0.1:9306:9306 -p 127.0.0.1:9308:9308 -d manticoresearch/manticore
  ```

  will:
  * run Manticore on ports 9306 (for mysql connections)
  * and 9308 (for any other connections)
  * and will use `./data/` as the data directory

  Read more about production use [in the documentation](https://github.com/manticoresoftware/docker#production-use).
  {{< /tab >}}

{{< /tabs >}}
<hr>

### Separate packages
{{< tabs >}}
  {{< tab "Ubuntu" >}}

  {{< collapse "Ubuntu 16 Xenial" >}}
  ``` bash
  wget https://repo.manticoresearch.com/repository/manticoresearch_xenial/dists/manticore_5.0.0-220518-b4cb7da_amd64.tgz https://repo.manticoresearch.com/repository/manticoresearch_xenial/dists/xenial/main/binary-amd64/manticore-columnar-lib_1.15.2-220518-b0bcafb_amd64.deb

  tar -xvf manticore_5.0.0-220518-b4cb7da_amd64.tgz

  sudo dpkg -i manticore-*5.0.0-220518-b4cb7da_amd64.deb manticore-columnar-lib_1.15.2-220518-b0bcafb_amd64.deb  
  ```
  {{< /collapse >}}
  {{< collapse "Ubuntu 18 Bionic" >}}
  ``` bash
  wget https://repo.manticoresearch.com/repository/manticoresearch_bionic/dists/manticore_5.0.0-220518-b4cb7da02_amd64.tgz https://repo.manticoresearch.com/repository/manticoresearch_bionic/dists/bionic/main/binary-amd64/manticore-columnar-lib_1.15.2-220518-b0bcafb_amd64.deb

  tar -xvf manticore_5.0.0-220518-b4cb7da02_amd64.tgz

  sudo dpkg -i manticore-*5.0.0-220518-b4cb7da02_amd64.deb manticore-columnar-lib_1.15.2-220518-b0bcafb_amd64.deb
  ```
  {{< /collapse >}}
  {{< collapse "Ubuntu 20 Focal" >}}
  ``` bash
  wget https://repo.manticoresearch.com/repository/manticoresearch_focal/dists/manticore_5.0.0-220518-b4cb7da02_amd64.tgz https://repo.manticoresearch.com/repository/manticoresearch_focal/dists/focal/main/binary-amd64/manticore-columnar-lib_1.15.2-220518-b0bcafb_amd64.deb

  tar -xvf manticore_5.0.0-220518-b4cb7da02_amd64.tgz

  sudo dpkg -i manticore-*5.0.0-220518-b4cb7da02_amd64.deb manticore-columnar-lib_1.15.2-220518-b0bcafb_amd64.deb
  ```
  {{< /collapse >}}
  {{< collapse "Ubuntu 22 Jammy" >}}
  ``` bash
  wget https://repo.manticoresearch.com/repository/manticoresearch_jammy/dists/manticore_5.0.0-220518-b4cb7da02_amd64.tgz https://repo.manticoresearch.com/repository/manticoresearch_jammy/dists/jammy/main/binary-amd64/manticore-columnar-lib_1.15.2-220518-b0bcafb_amd64.deb

  tar -xvf manticore_5.0.0-220518-b4cb7da02_amd64.tgz

  sudo dpkg -i manticore-*5.0.0-220518-b4cb7da02_amd64.deb manticore-columnar-lib_1.15.2-220518-b0bcafb_amd64.deb
  ```
  {{< /collapse >}}

  {{< /tab >}}

  {{< tab "Debian" >}}
  {{< collapse "Debian 9 Stretch" >}}
  ``` bash
  wget https://repo.manticoresearch.com/repository/manticoresearch_stretch/dists/manticore_5.0.0-220518-b4cb7da02_amd64.tgz https://repo.manticoresearch.com/repository/manticoresearch_stretch/dists/stretch/main/binary-amd64/manticore-columnar-lib_1.15.2-220518-b0bcafb_amd64.deb

  tar -xvf manticore_5.0.0-220518-b4cb7da02_amd64.tgz

  sudo dpkg -i manticore-*5.0.0-220518-b4cb7da02_amd64.deb manticore-columnar-lib_1.15.2-220518-b0bcafb_amd64.deb
  ```
  {{< /collapse >}}
  {{< collapse "Debian 10 Buster" >}}
  ``` bash
  wget https://repo.manticoresearch.com/repository/manticoresearch_buster/dists/manticore_5.0.0-220518-b4cb7da02_amd64.tgz https://repo.manticoresearch.com/repository/manticoresearch_buster/dists/buster/main/binary-amd64/manticore-columnar-lib_1.15.2-220518-b0bcafb_amd64.deb

  tar -xvf manticore_5.0.0-220518-b4cb7da02_amd64.tgz

  sudo dpkg -i manticore-*5.0.0-220518-b4cb7da02_amd64.deb manticore-columnar-lib_1.15.2-220518-b0bcafb_amd64.deb
  ```
  {{< /collapse >}}
  {{< collapse "Debian 11 Bullseye" >}}
  ```bash
  wget https://repo.manticoresearch.com/repository/manticoresearch_bullseye/dists/manticore_5.0.0-220518-b4cb7da02_amd64.tgz https://repo.manticoresearch.com/repository/manticoresearch_bullseye/dists/bullseye/main/binary-amd64/manticore-columnar-lib_1.15.2-220518-b0bcafb_amd64.deb

  tar -xvf manticore_5.0.0-220518-b4cb7da02_amd64.tgz

  sudo dpkg -i manticore-*5.0.0-220518-b4cb7da02_amd64.deb manticore-columnar-lib_1.15.2-220518-b0bcafb_amd64.deb
  ```
  {{< /collapse >}}
  {{< /tab >}}

  {{< tab "Centos" >}}

  {{< collapse "Centos 7" >}}
  ``` bash
  wget https://repo.manticoresearch.com/repository/manticoresearch/dev/centos/7/manticore-5.0.0-220518-b4cb7da02.el7.x86_64.tgz https://repo.manticoresearch.com/repository/manticoresearch/release/centos/7/x86_64/manticore-columnar-lib-1.15.2_220518.b0bcafb-1.el7.centos.x86_64.rpm

  tar -xvf manticore-5.0.0-220518-b4cb7da02.el7.x86_64.tgz

  rpm -i manticore-*-4.2.1_220517.b9889b4-1.el7.centos.*.rpm manticore-columnar-lib-1.15.2_220518.b0bcafb-1.el7.centos.x86_64.rpm
  ```
  {{< /collapse >}}
  {{< collapse "Centos 8 (Stream)" >}}
  ``` bash
  wget https://repo.manticoresearch.com/repository/manticoresearch/dev/centos/8/manticore-5.0.0-220518-b4cb7da02.el8.x86_64.tgz https://repo.manticoresearch.com/repository/manticoresearch/release/centos/8/x86_64/manticore-columnar-lib-1.15.2_220518.b0bcafb-1.el8.x86_64.rpm

  tar -xvf manticore-5.0.0-220518-b4cb7da02.el8.x86_64.tgz

  rpm -i manticore-*-4.2.1_220517.b9889b4-1.el8.centos.*.rpm manticore-columnar-lib-1.15.2_220518.b0bcafb-1.el8.centos.x86_64.rpm
  ```
  {{< /collapse >}}

  {{< /tab >}}

  {{< tab "MacOS" >}}

  ### Install
  ``` bash
  mkdir manticore

  cd manticore

  wget https://repo.manticoresearch.com/repository/manticoresearch_macos/release/manticore-5.0.0-220518-b4cb7da02_64-main.tar.gz

  tar -xf manticore-5.0.0-220518-b4cb7da02_64-main.tar.gz

  wget https://repo.manticoresearch.com/repository/manticoresearch_macos/release/manticore-columnar-lib-1.15.2-220518-b0bcafb-osx10.14.4-x86_64.tar.gz

  tar -xf manticore-columnar-lib-1.15.2_220518-b0bcafb-osx10.14.4-x86_64.tar.gz -C usr/local
  ```

  Please find more details on installing and using Manticore in MacOS [in the documentation](https://manual.manticoresearch.com/Installation/MacOS#Installing-Manticore-on-MacOS).

  ### Run
  ``` bash
  LIB_MANTICORE_COLUMNAR=./usr/local/share/manticore/modules/lib_manticore_columnar.so ./usr/local/bin/searchd -c ./usr/local/etc/manticore/manticore.conf
  ./usr/local/bin/searchd -c ./usr/local/etc/manticore/manticore.conf
  ```

  {{< /tab >}}

  {{< tab "Windows" >}}

  To install Manticore in Windows:
  1. press the below two download buttons

  {{< button "Manticore Search" "https://repo.manticoresearch.com/repository/manticoresearch_windows/release/x64/manticore-5.0.0-220518-b4cb7da02-releasex64-main.zip">}}

  {{< button "Manticore Columnar Lib" "https://repo.manticoresearch.com/repository/manticoresearch_windows/release/x64/manticore-columnar-lib-1.15.2-220518-b0bcafb-x64.zip">}}

  2. download the archives
  3. create a folder, e.g. `C:\Manticore`
  4. move the archives into it and extract files from them:
     * `unzip manticore-5.0.0-220518-b4cb7da02-releasex64-main.zip`
     * `unzip manticore-columnar-lib-1.15.2_220518-b0bcafb-x64.zip`

  The archive comes with a sample configuration file in `manticore.conf.in`.
  The configuration contains placeholders `@LOGDIR@`, `@RUNDIR@` and `@CONFDIR@` that need to be replaced with your:
  * logs dir path
  * pid files directory path
  * and data directory location

  respectively. The archive also includes empty folders `var/log` and `var/data`, so if you like - you can use them.

  To install the `searchd` (Manticore search server) as a Windows service run:

  ```bat
  C:\Manticore\bin\searchd --install --config C:\Manticore\manticore.conf.in --servicename Manticore
  ```

  Please find more details on installing and using Manticore in Windows [in the documentation](https://manual.manticoresearch.com/Installation/Windows#Installing-Manticore-in-Windows).

  {{< /tab >}}

  {{< tab "Mint" >}}
  <h3>Linux Mint 19:</h3>

  ``` bash
  wget https://repo.manticoresearch.com/repository/manticoresearch_bionic/dists/manticore_5.0.0-220518-b4cb7da02_amd64.tgz https://repo.manticoresearch.com/repository/manticoresearch_bionic/dists/bionic/main/binary-amd64/manticore-columnar-lib_1.15.2-220518-b0bcafb_amd64.deb

  tar -xvf manticore_5.0.0-220518-b4cb7da02_amd64.tgz

  sudo dpkg -i manticore-*5.0.0-220518-b4cb7da02_amd64.deb manticore-columnar-lib_1.15.2-220518-b0bcafb_amd64.deb
  ```

  {{< /tab >}}

{{< /tabs >}}

### Other downloads
{{< tabs >}}
  {{< tab "English lemmatizer" >}}
  ### English lemmatizer for Manticore Search
  Read more about morphology in Manticore Search [in the documentation](https://manual.manticoresearch.com/Creating_a_table/NLP_and_tokenization/Morphology).

  Unpack [en.pak.tgz](https://repo.manticoresearch.com/repository/morphology/en.pak.tgz) to the folder which is specified as [lemmatizer_base](https://mnt.cr/lemmatizer_base) in your config (`/usr/share/manticore/` by default in Linux) and restart Manticore Search.
  {{< /tab >}}
  {{< tab "German lemmatizer" >}}
  ### German lemmatizer for Manticore Search
  Read more about morphology in Manticore Search [in the documentation](https://manual.manticoresearch.com/Creating_a_table/NLP_and_tokenization/Morphology).

  Unpack [de.pak.tgz](https://repo.manticoresearch.com/repository/morphology/de.pak.tgz) to the folder which is specified as [lemmatizer_base](https://mnt.cr/lemmatizer_base) in your config (`/usr/share/manticore/` by default in Linux) and restart Manticore Search.
  {{< /tab >}}
  {{< tab "Russian lemmatizer" >}}
  ### Russian lemmatizer for Manticore Search
  Read more about morphology in Manticore Search [in the documentation](https://manual.manticoresearch.com/Creating_a_table/NLP_and_tokenization/Morphology).

  Unpack [ru.pak.tgz](https://repo.manticoresearch.com/repository/morphology/ru.pak.tgz) to the folder which is specified as [lemmatizer_base](https://mnt.cr/lemmatizer_base) in your config (`/usr/share/manticore/` by default in Linux) and restart Manticore Search.
  {{< /tab >}}
  {{< tab "Index converter" >}}
  ### Index converter from Sphinx/Manticore 2.x to Manticore 3.x
  Note, Manticore 4 and 5 can also read the converted indexes. Read more about migration from Sphinx 2 / Manticore 2 [in the documentation](https://manual.manticoresearch.com/Installation/Migration_from_Sphinx).

  {{< collapse "Ubuntu 16 Xenial" >}}

  ``` bash
  sudo apt install manticore-converter
  ```
  if you use our APT repository or:
  ``` bash
  wget https://repo.manticoresearch.com/repository/manticoresearch_xenial/dists/xenial/main/binary-amd64/manticore-converter_5.0.0-220518-b4cb7da_amd64.deb

  dpkg -i manticore-converter_5.0.0-220518-b4cb7da_amd64.deb
  ```
  {{< /collapse >}}

  {{< collapse "Ubuntu 18 Bionic" >}}

  ``` bash
  sudo apt install manticore-converter
  ```
  if you use our APT repository or:
  ``` bash
  wget https://repo.manticoresearch.com/repository/manticoresearch_bionic/dists/bionic/main/binary-amd64/manticore-converter_5.0.0-220518-b4cb7da02_amd64.deb

  dpkg -i manticore-converter_5.0.0-220518-b4cb7da02_amd64.deb
  ```
  {{< /collapse >}}

  {{< collapse "Ubuntu 20 Focal" >}}

  ``` bash
  sudo apt install manticore-converter
  ```
  if you use our APT repository or:
  ``` bash
  wget https://repo.manticoresearch.com/repository/manticoresearch_focal/dists/focal/main/binary-amd64/manticore-converter_5.0.0-220518-b4cb7da02_amd64.deb

  dpkg -i manticore-converter_5.0.0-220518-b4cb7da02_amd64.deb
  ```
  {{< /collapse >}}

  {{< collapse "Ubuntu 22 Jammy" >}}

  ``` bash
  sudo apt install manticore-converter
  ```
  if you use our APT repository or:
  ``` bash
  wget https://repo.manticoresearch.com/repository/manticoresearch_jammy/dists/jammy/main/binary-amd64/manticore-converter_5.0.0-220518-b4cb7da02_amd64.deb

  dpkg -i manticore-converter_5.0.0-220518-b4cb7da02_amd64.deb
  ```
  {{< /collapse >}}

  {{< collapse "Debian 9 Stretch" >}}
  ``` bash
  sudo apt install manticore-converter
  ```
  if you use our APT repository or:
  ``` bash
  wget https://repo.manticoresearch.com/repository/manticoresearch_stretch/dists/stretch/main/binary-amd64/manticore-converter_5.0.0-220518-b4cb7da02_amd64.deb

  dpkg -i manticore-converter_5.0.0-220518-b4cb7da02_amd64.deb
  ```
  {{< /collapse >}}

  {{< collapse "Debian 10 Buster" >}}

  ``` bash
  sudo apt install manticore-converter
  ```
  if you use our APT repository or:
  ``` bash
  wget https://repo.manticoresearch.com/repository/manticoresearch_buster/dists/buster/main/binary-amd64/manticore-converter_5.0.0-220518-b4cb7da02_amd64.deb

  dpkg -i manticore-converter_5.0.0-220518-b4cb7da02_amd64.deb
  ```
  {{< /collapse >}}

  {{< collapse "Debian 11 Bullseye" >}}

  ``` bash
  sudo apt install manticore-converter
  ```
  if you use our APT repository or:
  ``` bash
  wget https://repo.manticoresearch.com/repository/manticoresearch_bullseye/dists/bullseye/main/binary-amd64/manticore-converter_5.0.0-220518-b4cb7da02_amd64.deb

  dpkg -i manticore-converter_5.0.0-220518-b4cb7da02_amd64.deb
  ```
  {{< /collapse >}}

  {{< collapse "Centos 7" >}}

  ``` bash
  sudo apt install manticore-converter
  ```
  if you use our APT repository or:
  ``` bash
  yum install https://repo.manticoresearch.com/repository/manticoresearch/release/centos/7/x86_64/manticore-converter-5.0.0_220518.b4cb7da-1.el7.centos.x86_64.rpm
  ```
  {{< /collapse >}}

  {{< collapse "Centos 8 (Stream)" >}}

  ``` bash
  sudo apt install manticore-converter
  ```
  if you use our APT repository or:
  ``` bash
  yum install https://repo.manticoresearch.com/repository/manticoresearch/release/centos/8/x86_64/manticore-converter-5.0.0_220518.b4cb7da02-1.el8.x86_64.rpm
  ```
  {{< /collapse >}}

  {{< collapse "MacOS" >}}

  {{< button "Download" "https://repo.manticoresearch.com/repository/manticoresearch_macos/release/manticore-5.0.0-220518-b4cb7da02-release-converter.tar.gz">}}
  {{< /collapse >}}

  {{< collapse "Windows" >}}

  {{< button "Download" "https://repo.manticoresearch.com/repository/manticoresearch_windows/release/x64/manticore-5.0.0-220518-b4cb7da02-release-converter.zip">}}
  {{< /collapse >}}

  {{< /tab >}}
{{< /tabs >}}

## Archive versions
{{< tabs >}}
  {{< tab "Before 3.5.0" >}}
  You can find packages of Manticore Search version before 3.5.0 in [Github Releases](https://github.com/manticoresoftware/manticoresearch/releases)
  {{< /tab >}}
  {{< tab "Since 3.5.0" >}}
  You can find packages of Manticore Search version since 3.5.0 in [repo.manticoresearch.com](https://repo.manticoresearch.com/)
  {{< /tab >}}
{{< /tabs >}}
