When I do "sudo apt-get install sphinxsearch", I get version 0.9. I want the latest stable version (which is 2.4, I believe)
How can I do that using aptitude?
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.Sign up to join this community
You can just download the source files and compile it. Its a very straightforward compile and takes just a couple minutes. From the site (http://sphinxsearch.com/docs/current.html#installing):
2.3. Installing Sphinx on Linux
Extract everything from the distribution tarball (haven't you already?) and go to the sphinx subdirectory. (We are using version 2.0.1-beta here for the sake of example only; be sure to change this to a specific version you're using.)
$ tar xzvf sphinx-2.0.1-beta.tar.gz $ cd sphinx
Run the configuration program:
There's a number of options to configure. The complete listing may be obtained by using --help switch. The most important ones are:
--prefix, which specifies where to install Sphinx; such as --prefix=/usr/local/sphinx (all of the examples use this prefix)
--with-mysql, which specifies where to look for MySQL include and library files, if auto-detection fails;
--with-pgsql, which specifies where to look for PostgreSQL include and library files.
Build the binaries:
Install the binaries in the directory of your choice: (defaults to /usr/local/bin/ on *nix systems, but is overridden with configure --prefix)
$ make install
You could use the repository from ppa:
add-apt-repository ppa:dhuggins/cmusphinx apt-get update apt-get install sphinxsearch
Install sphinx search on any ubuntu version.
sphinxsearch, then select it and install.
$sudo gedit /etc/sphinxsearch/sphinx.conf
$sudo cp /etc/sphinxsearch/sphinx.conf.sample /etc/sphinxsearch/sphinx.conf
sudo indexer --rotate --alland your indexing will start.