# 安装 Manticore Search

安装 Manticore Search：一款易用、开源、快速的搜索数据库。现代、快速、轻量，具备出色的全文搜索能力

## Manticore Search 27.1.5

2026年6月19日

[更新日志](https://manual.manticoresearch.com/Changelog#Version-27.1.5)


### 包管理器
{{< tabs >}}
  {{< tab "APT" >}}
  ### 使用 APT 在 Debian、Ubuntu 或 Linux Mint 上安装 Manticore Search

  安装 APT 仓库并获取新版本：
  ``` bash
  wget https://repo.manticoresearch.com/manticore-repo.noarch.deb
  sudo dpkg -i manticore-repo.noarch.deb
  sudo apt update
  sudo apt install manticore
  ```

  如果你是从旧版本升级，建议先移除旧包，以避免更新后的包结构引发冲突：
  ```bash
  sudo apt remove 'manticore*'
  ```
  这不会删除你的数据或配置文件。

  ### 启动 Manticore

  ``` bash
  sudo systemctl start manticore
  ```

  关于 Manticore Search 的 APT 仓库，请参阅[文档](https://manual.manticoresearch.com/Installation/Debian_and_Ubuntu#Installing-Manticore-in-Debian-or-Ubuntu)。
  {{< /tab >}}

  {{< tab "YUM" >}}
  ### 使用 YUM 在 Centos、RHEL、Oracle Linux 和 Amazon Linux 上安装 Manticore Search

  > 此方法仅适用于 RHEL 8、9 和 10（以及兼容发行版，如 CentOS 8/9、Oracle Linux 8/9/10、AlmaLinux 8/9/10）。它不适用于基于 RHEL 7 的系统。

  安装 YUM 仓库并获取新版本：
  ``` bash
  sudo yum install https://repo.manticoresearch.com/manticore-repo.noarch.rpm
  sudo yum install manticore
  ```

  如果你是从旧版本升级，建议先移除旧包，以避免更新后的包结构引发冲突：
  ```bash
  sudo yum --setopt=tsflags=noscripts remove 'manticore*'
  ```
  它不会删除你的数据。如果你对配置文件做了修改，这些更改会被保存到 `/etc/manticoresearch/release/manticore.conf.rpmsave`。

  ### 启动 Manticore

  ``` bash
  sudo systemctl start manticore
  ```

  关于 Manticore Search 的 YUM 仓库，请参阅[文档](https://manual.manticoresearch.com/Installation/RHEL_and_Centos#Installing-Manticore-packages-on-RedHat-and-CentOS)。
  {{< /tab >}}

  {{< tab "Homebrew" >}}

  ### 使用 Homebrew 在 MacOS 上安装 Manticore Search

  ``` bash
  brew install manticoresoftware/tap/manticore
  ```

  ### 启动 Manticore

  ``` bash
  brew services start manticore
  ```

  关于 Manticore Search 的 Homebrew 包，请参阅[文档](https://manual.manticoresearch.com/Installation/MacOS#Via-Homebrew-package-manager)。
  {{< /tab >}}

  {{< tab "Windows via WSL" >}}

  ### 通过 WSL 在 Windows 上安装 Manticore Search

  要在 Windows 上安装 Manticore Search，你首先需要启用 WSL2（Windows Subsystem for Linux）。WSL2 可让你在 Windows 上原生运行 Linux 二进制文件。要使用此方法，你需要运行 Windows 10 2004 及以上版本，或 Windows 11。

  #### 安装或启用 WSL2

  请按照[Microsoft 官方指南](https://docs.microsoft.com/en-us/windows/wsl/install)中的步骤说明安装 WSL。本指南将以 Ubuntu 作为默认 Linux 发行版。

  #### 安装 Manticore

  WSL2 设置完成后，你可以通过添加 APT 仓库并安装所需的 Manticore 包来安装 Manticore：
  ``` 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 包，以防与更新后的包结构发生任何冲突：
  ```bash
  sudo apt remove 'manticore*'
  ```
  此命令不会删除你的数据或配置文件。

  ### 启动 Manticore

  ``` bash
  sudo systemctl start manticore
  ```

  ### 其他方法：作为独立软件包安装
  如果你更愿意在不添加 APT 仓库的情况下安装单独的软件包，请继续下一节：[独立软件包](#separate-packages)。

  {{< /tab >}}

  {{< tab "Windows installer" >}}

  ### 使用安装程序在 Windows 上安装 Manticore Search

  1. 下载 [Manticore Search 安装程序](https://repo.manticoresearch.com/repository/manticoresearch_windows/release/x64/manticore-27.1.5-26061911-5a1cf9399-x64.exe) 并运行它。按照安装说明进行操作。
  2. 选择安装目录。
  3. 选择要安装的组件。我们建议安装全部组件。
  4. Manticore 自带一个预配置的 RT 模式 `manticore.conf` 文件。[RT 模式](https://manual.manticoresearch.com/Read_this_first.md#Real-time-mode-vs-plain-mode)无需额外配置。

  关于在 Windows 上安装和使用 Manticore 的更多详情，请参阅[文档](https://manual.manticoresearch.com/Installation/Windows#Installing-Manticore-in-Windows)。

  {{< /tab >}}

  {{< tab "Docker" >}}

  ### 在 Docker 中运行 Manticore Search

  ``` 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
  ```

  此配置将启用 Manticore Columnar Library 和 Manticore Buddy，并让 Manticore 在 9306 端口处理 MySQL 连接，在 9308 端口处理其他所有连接，同时使用 `./data/` 作为指定数据目录。

  关于生产环境使用，请参阅[文档](https://github.com/manticoresoftware/docker#production-use)。
  {{< /tab >}}

  {{< tab "Kubernetes Helm Chart" >}}
  ### 使用 Helm 在 Kubernetes 上安装 Manticore Search

  ``` bash
  helm repo add manticoresearch https://helm.manticoresearch.com
  # Update values.yaml if needed
  helm install manticore -n manticore --create-namespace manticoresearch/manticoresearch
  ```

  关于如何安装 Helm chart 的更多信息，请参阅[文档](https://github.com/manticoresoftware/manticoresearch-helm#installation)。
  {{< /tab >}}


{{< /tabs >}}
<hr>

### 独立软件包
{{< tabs >}}
  {{< tab "Ubuntu" >}}

  {{< collapse "Ubuntu 18 Bionic" >}}
  ``` bash
  arch=`dpkg --print-architecture`
  wget https://repo.manticoresearch.com/repository/manticoresearch_bionic/dists/bionic/main/binary-${arch}/manticore_27.1.5-26061911-5a1cf9399_${arch}.deb
  sudo apt -y update && sudo apt -y install ./*.deb
  ```
  {{< /collapse >}}
  {{< collapse "Ubuntu 20 Focal" >}}
  ``` bash
  arch=`dpkg --print-architecture`
  wget https://repo.manticoresearch.com/repository/manticoresearch_focal/dists/focal/main/binary-${arch}/manticore_27.1.5-26061911-5a1cf9399_${arch}.deb
  sudo apt -y update && sudo apt -y install ./*.deb
  ```
  {{< /collapse >}}
  {{< collapse "Ubuntu 22 Jammy" >}}
  ``` bash
  arch=`dpkg --print-architecture`
  wget https://repo.manticoresearch.com/repository/manticoresearch_jammy/dists/jammy/main/binary-${arch}/manticore_27.1.5-26061911-5a1cf9399_${arch}.deb
  sudo apt -y update && sudo apt -y install ./*.deb
  ```
  {{< /collapse >}}

  {{< collapse "Ubuntu 24 Noble" >}}
  ``` bash
  arch=`dpkg --print-architecture`
  wget https://repo.manticoresearch.com/repository/manticoresearch_jammy/dists/jammy/main/binary-${arch}/manticore_27.1.5-26061911-5a1cf9399_${arch}.deb
  sudo apt -y update && sudo apt -y install ./*.deb
  ```
  {{< /collapse >}}

  {{< collapse "Ubuntu 26 Resolute" >}}
  ``` bash
  arch=`dpkg --print-architecture`
  wget https://repo.manticoresearch.com/repository/manticoresearch_jammy/dists/jammy/main/binary-${arch}/manticore_27.1.5-26061911-5a1cf9399_${arch}.deb
  sudo apt -y update && sudo apt -y install ./*.deb
  ```
  {{< /collapse >}}


  {{< /tab >}}

  {{< tab "Debian" >}}

  {{< collapse "Debian 11 Bullseye" >}}
  ```bash
  arch=`dpkg --print-architecture`
  wget https://repo.manticoresearch.com/repository/manticoresearch_bullseye/dists/bullseye/main/binary-${arch}/manticore_27.1.5-26061911-5a1cf9399_${arch}.deb
  sudo apt -y update && sudo apt -y install ./*.deb
  ```
  {{< /collapse >}}
  {{< collapse "Debian 12 Bookworm" >}}
  ```bash
  arch=`dpkg --print-architecture`
  wget https://repo.manticoresearch.com/repository/manticoresearch_bookworm/dists/bookworm/main/binary-${arch}/manticore_27.1.5-26061911-5a1cf9399_${arch}.deb
  sudo apt -y update && sudo apt -y install ./*.deb
  ```
  {{< /collapse >}}

{{< collapse "Debian 13 Trixie" >}}
  ```bash
  arch=`dpkg --print-architecture`
  wget https://repo.manticoresearch.com/repository/manticoresearch_bookworm/dists/bookworm/main/binary-${arch}/manticore_27.1.5-26061911-5a1cf9399_${arch}.deb
  sudo apt -y update && sudo apt -y install ./*.deb
  ```
  {{< /collapse >}}

  {{< /tab >}}

  {{< tab "Centos / RHEL / Alma / Oracle" >}}

  {{< collapse "Centos 8 (Oracle Linux 8, Stream 8)" >}}
  ``` bash
  arch=`arch`
  yum -y install https://repo.manticoresearch.com/repository/manticoresearch/release/centos/8/${arch}/manticore-27.1.5_26061911.5a1cf9399-1.el8.${arch}.rpm
  ```
  {{< /collapse >}}

  {{< collapse "Centos 9 (AlmaLinux 9)" >}}
  ``` bash
  arch=`arch`
  yum -y install https://repo.manticoresearch.com/repository/manticoresearch/release/centos/9/${arch}/manticore-27.1.5_26061911.5a1cf9399-1.el9.${arch}.rpm
  ```
  {{< /collapse >}}

  {{< collapse "AlmaLinux 10 (and other RHEL 10-based distributions)" >}}
  ``` bash
  arch=`arch`
  yum -y install https://repo.manticoresearch.com/repository/manticoresearch/release/centos/10/${arch}/manticore-27.1.5_26061911.5a1cf9399-1.el10.${arch}.rpm
  ```
  {{< /collapse >}}

  {{< /tab >}}

  {{< tab "Mint" >}}
  {{< collapse "Linux Mint 19" >}}

  ``` bash
  arch=`dpkg --print-architecture`
  wget https://repo.manticoresearch.com/repository/manticoresearch_bionic/dists/bionic/main/binary-${arch}/manticore_27.1.5-26061911-5a1cf9399_${arch}.deb
  sudo apt -y update && sudo apt -y install ./*.deb
  ```
  {{< /collapse >}}

  {{< collapse "Linux Mint 20" >}}
  ``` bash
  arch=`dpkg --print-architecture`
  wget https://repo.manticoresearch.com/repository/manticoresearch_focal/dists/focal/main/binary-${arch}/manticore_27.1.5-26061911-5a1cf9399_${arch}.deb
  sudo apt -y update && sudo apt -y install ./*.deb
  ```
  {{< /collapse >}}

  {{< collapse "Linux Mint 21" >}}
  ``` bash
  arch=`dpkg --print-architecture`
  wget https://repo.manticoresearch.com/repository/manticoresearch_jammy/dists/jammy/main/binary-${arch}/manticore_27.1.5-26061911-5a1cf9399_${arch}.deb
  sudo apt -y update && sudo apt -y install ./*.deb
  ```
  {{< /collapse >}}

  {{< /tab >}}

  {{< tab "Windows via WSL" >}}
  ``` bash
  mkdir -p /tmp/manticore_install && cd /tmp/manticore_install
  source /etc/os-release
  arch=`dpkg --print-architecture`
  wget https://repo.manticoresearch.com/repository/manticoresearch_${VERSION_CODENAME}/dists/${VERSION_CODENAME}/main/binary-${arch}/manticore_27.1.5-26061911-5a1cf9399_${arch}.deb

  sudo chmod -R o+r /tmp/manticore_install

  sudo apt -y update && sudo apt -y install ./*.deb
  ```
  {{< /tab >}}  

{{< /tabs >}}

### 其他下载
{{< tabs >}}
  {{< tab "English, German, Russian lemmatizers" >}}
  ### Manticore Search 的英文、德文和俄文词形还原器
  关于 Manticore Search 中的形态学，请参阅[文档](https://manual.manticoresearch.com/Creating_a_table/NLP_and_tokenization/Morphology)。

  ##### 通过 APT：
  ``` bash
  apt install manticore-language-packs
  ```

  ##### 通过 YUM：
  ``` bash
  yum install manticore-language-packs
  ```

  ##### 在 MacOS 上通过 Homebrew：
  如果你按照上面的安装说明操作，这些内容已经安装好了。

  ##### Windows（非 WSL）：
  将英文的 [en.pak.tgz](https://repo.manticoresearch.com/repository/morphology/en.pak.tgz)、德文的 [de.pak.tgz](https://repo.manticoresearch.com/repository/morphology/de.pak.tgz) 或俄文的 [ru.pak.tgz](https://repo.manticoresearch.com/repository/morphology/ru.pak.tgz) 解压到配置中指定为 [lemmatizer_base](https://manual.manticoresearch.com/Server_settings/Common#lemmatizer_base) 的文件夹中，然后重启 Manticore Search。

  {{< /tab >}}

  {{< tab "Ukrainian lemmatizer" >}}
  ### Manticore Search 的乌克兰语词形还原器

  {{< collapse "Debian, Ubuntu" >}}
  https://manual.manticoresearch.com/Installation/Debian_and_Ubuntu#Ukrainian-lemmatizer
  {{< /collapse >}}
  {{< collapse "RHEL-based" >}}
  https://manual.manticoresearch.com/Installation/RHEL_and_Centos#Ukrainian-lemmatizer
  {{< /collapse >}}

  {{< /tab >}}

{{< /tabs >}}

## 存档版本
{{< tabs >}}
  {{< tab "Before 3.5.0" >}}
  你可以在 [Github Releases](https://github.com/manticoresoftware/manticoresearch/releases) 中找到 3.5.0 之前的 Manticore Search 版本软件包
  {{< /tab >}}
  {{< tab "Since 3.5.0" >}}
  你可以在 [repo.manticoresearch.com](https://repo.manticoresearch.com/) 中找到自 3.5.0 起的 Manticore Search 版本软件包
  {{< /tab >}}
{{< /tabs >}}
