I have installed it on Centos 7 with such instructions (i had 3.53 in that location installed previously):
get from github in /opt folder
git clone --depth 1 GitHub - manticoresoftware/manticoresearch: Easy to use open source fast database for search | Good alternative to Elasticsearch now | Drop-in replacement for E in the ELK soon
cd /opt/manticoresearch
wget http://snowball.tartarus.org/dist/libstemmer_c.tgz
tar -xvf libstemmer_c.tgz
yum install libmariadb-dev mariadb-devel libmysqlclient-dev mysql-devel
yum install re2
yum install gcc gcc-c++ make expat-devel libicu-devel openssl-devel boost-devel rpm-build systemd-units
yum install cmake (if installs lower than 3.13 version use:
cd /opt
wget https://cmake.org/files/v3.17/cmake-3.17.3.tar.gz
tar -zxf cmake-3.17.3.tar.gz
cd /opt/cmake-3.17.3
(Note: the make install step is optional, cmake will run from the build directory just fine.)
./bootstrap
make
#Optional, skipped this step, cmake is built in bin folder and that is enough:
make install
The installation directory is usually left at its default, which is /usr/local and usually better not to install here. It is possible to specify a different installation directory by adding
-DCMAKE_INSTALL_PREFIX=/usr/local/manticore to the CMake command line.
As for precompiling the configuration, this was actually done in the /build directory in
cd /opt/manticoresearch
mkdir build && cd build
/opt/cmake-3.17.3/bin/cmake -S /opt/manticoresearch -DWITH_MYSQL=1 -DWITH_RE2=1 -DWITH_STEMMER=1 -DCMAKE_INSTALL_PREFIX=/usr/local/manticore
to set the source as was recommended in the documentation combined with the flags.
Create a folder /usr/local/manticore
mkdir manticore
After cmake completed the precompile, within the same build/ directory to actually install was done with:
make -j4
and
make -j4 install
again per the documentation.
This installs Manticore in /usr/local/manticore
Check the version:
cd /usr/local/manticore/usr/bin
./searchd -v
Manticore 3.5.3 0709fc5b@201119 dev
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-2020, Manticore Software LTD (http://manticoresearch.com)