The latest release is 1.0.6:
The wiki contains a summary of bugs, patches, and workarounds relating to the latest release.
Packages of xapian-core, xapian-omega, and xapian-bindings are available from the Debian and Ubuntu archives (starting with Debian etch and Ubuntu feisty). For Debian stable, backported versions of the latest packages are also available for all Debian's supported architectures, courtesy of backports.org.
However, packages aren't available for older Debian or Ubuntu releases, and those which are available may not be fully up-to-date, so for your convenience we provide backported packages from our own repository on xapian.org. If you're happy with the packages in the Debian or Ubuntu archive, you can ignore the rest of this section.
Currently we supply packages for Debian oldstable (sarge), stable (etch), and testing/unstable, and for Ubuntu dapper (6.06), edgy (6.10), feisty (7.04), and gutsy (7.10). Starting from Xapian 1.0.1, the repository is now signed by a key which has this fingerprint:
7E71 70B7 6A23 65C5 DB40 1AE8 52A4 ECB5 287B 9696
You'll need to import the registry key so that apt can verify these signatures. You can do that like so on Debian:
$ su -
enter your root password
# wget -O- http://www.xapian.org/debian/archive_key.asc|apt-key add -
# exit
And on Ubuntu:
$ sudo wget -O- http://www.xapian.org/debian/archive_key.asc|apt-key add -
enter your root password
If you're running Debian oldstable add the following to your sources.list:
deb http://www.xapian.org/debian oldstable main
deb-src http://www.xapian.org/debian oldstable main
If you're running Debian stable add the following to your sources.list:
deb http://www.xapian.org/debian stable main
deb-src http://www.xapian.org/debian stable main
If you're running Debian testing (and the packages haven't propagated in Debian yet) or unstable (and the packages are stuck in the NEW queue), add the following to your sources.list:
deb http://www.xapian.org/debian unstable main
deb-src http://www.xapian.org/debian unstable main
If you're running Ubuntu dapper, add the following:
deb http://www.xapian.org/debian dapper main
deb-src http://www.xapian.org/debian dapper main
Ubuntu edgy has xapian-core packages (version 0.9.6-5), but not xapian-omega or xapian-bindings. If you're running Ubuntu edgy and want either of the latter two, or just a newer xapian-core, add the following to your sources.list:
deb http://www.xapian.org/debian edgy main
deb-src http://www.xapian.org/debian edgy main
Ubuntu feisty has packages based on 0.9.9 with some backported fixes from 0.9.10. To get newer packages, add the following to your sources.list:
deb http://www.xapian.org/debian feisty main
deb-src http://www.xapian.org/debian feisty main
The development version of Ubuntu (gutsy) has all the xapian packages which should get regularly updated from those in Debian unstable, but if you're impatient, add the following to your sources.list:
deb http://www.xapian.org/debian gutsy main
deb-src http://www.xapian.org/debian gutsy main
Currently the Python, PHP, Ruby, Tcl, and Perl bindings are packaged for Debian and Ubuntu. The C# and Java bindings aren't yet packaged.
Binary packages are currently built for i386 and amd64. If you're on another architecture, you can build your own by adding the "deb-src" line above, then for Debian:
$ su - enter your root password # apt-get update # apt-get build-dep xapian-core # exit $ fakeroot apt-get source -b xapian-core $ su - enter your root password # dpkg -i libxapian* xapian-doc* xapian-tools* # apt-get build-dep xapian-bindings xapian-omega # exit $ fakeroot apt-get source -b xapian-bindings xapian-omega $ su - enter your root password # dpkg -i xapian-omega*.deb python-xapian*.deb # exit
Or for Ubuntu (Ubuntu doesn't have a root login by default, so you need to use sudo):
$ sudo apt-get update enter your root password $ sudo apt-get install fakeroot $ sudo apt-get build-dep xapian-core $ fakeroot apt-get source -b xapian-core $ sudo dpkg -i libxapian* xapian-doc* xapian-tools* $ sudo apt-get build-dep xapian-bindings xapian-omega $ fakeroot apt-get source -b xapian-bindings xapian-omega $ sudo dpkg -i xapian-omega*.deb python-xapian*.deb
Fedora 7 and 8 have RPM packages for Xapian in the default repository, but may be one or two releases behind.
Fabrice Colin has built RPM packages for Fedora 7 - there are binary packages (for i386, x86-64, and ppc) and source RPMs.
If you have Fedora 7, copy xapian.repo
into /etc/yum/repos.d/ and then you can install the packages
using yum:
$ su enter your root password # cd /etc/yum/repos.d # wget http://www.xapian.org/RPM/fc7/xapian.repo # yum install xapian-omega xapian-bindings-csharp xapian-bindings-php xapian-bindings-python xapian-bindings-tcl8
RPM packages of Xapian 1.0.0 are available for Fedora Core 6, but these are no longer being updated for newer Xapian releases.
Tim Brody has built RPM packages for RedHat Enterprise Linux 4 and RedHat Enterprise Linux 5 - there are binary packages for i386 and source RPMs.
If you have RHEL 5, copy xapian.repo
into /etc/yum.repos.d/ and then you can install the packages
using yum:
$ su enter your root password # cd /etc/yum.repos.d # rm -f xapian.repo # wget http://www.xapian.org/RPM/rhel5/xapian.repo # yum install xapian-omega xapian-bindings-php xapian-bindings-python xapian-bindings-tcl8
For RHEL 4, use this xapian.repo instead
if you are using DAG's yum. Otherwise
you can download the individual packages and install
them by hand.
The source RPMs (the three files that end in ".src.rpm") are not distribution specific - you can build binary RPMs from those if binary packages aren't available for your architecture or distribution like so:
$ rpmbuild --rebuild PACKAGENAME.src.rpm
These RPM-based distributions have their own RPM packages which might be better tailored:
Xapian is in the FreeBSD Ports Collection.
Packages for xapian-core, xapian-bindings, and Search::Xapian are available from Cygwin Ports. Packages for Omega aren't there yet, but you can get those from Reini Urban's site.
You can download makefiles for compiling with MSVC, originally put together by Ulrik Petersen, and further refined and currently maintained by Charlie Hull.