Jaco Theron writes:

> Encountered a problem with installing sphinx. (CentOS 6)
>
> sudo yum install -y sphinx
>
> The above command does not find sphinx.
>
> Instead I have used the source of sphinx:
>
>         wget http://sphinxsearch.com/files/sphinx-2.0.6-release.tar.gz
>     tar xvfz sphinx-2.0.6-release.tar.gz
>     cd sphinx-2.0.6-release
>     ./configure && make && make install
>     cd ..
>
> Q: Is this approach acceptable?

I would highly recommend using a packaged version on your computer, that
way you'll receive updates and dependencies can be resolved by your
package manager.

You will need to enable the EPEL repository on your server, this is a
Yum repository maintained by the Fedora project, which contains a lot of
packages not included in CentOS and its upstream by default.

This page has the instructions:

  http://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F

You'll have to download and install an RPM (find the link from the above
link), it will add the repository to /etc/yum.repos.d/ on your
server. After that you can run

  yum install sphinx

And you're all set.

Cheers,
- Marius

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

Reply via email to