Stable release

The 1.4 branch is the current stable release branch. We recommend you use this branch unless you have a particular need to use an older version.

The latest stable release is 1.4.5:

The wiki contains a summary of bugs, patches, and workarounds relating to the latest release.

The latest old stable release is 1.2.25:

Debian and Ubuntu packages

Packages of xapian-core, xapian-omega, xapian-bindings (Python, Ruby, and Tcl), and the perl bindings (the package name is libsearch-xapian-perl) are available from the Debian and Ubuntu repositories.

Backported Debian packages of newer versions are available from

Backported Ubuntu packages of newer versions are available from Launchpad Personal Package Archives (PPAs) maintained by Olly Betts for 1.2.x. Follow the instructions on those links for how to make use of these. Currently all packages are backported to all Ubuntu releases which are still supported.

RPM packages


Fedora have RPM packages for Xapian in their default repositories, though these may lag behind the latest releases a bit.

RedHat Enterprise Linux

Tim Brody has built RPM packages for RedHat Enterprise Linux 5 and 6 - there are binary packages for i386 and x86_64, and source RPMs (the RHEL5 packages are no longer updated, the latest are of Xapian 1.2.5).

For convenience you can install a package to pull in his package repository and then you can install the packages using yum:

$ su
enter your root password
# rpm -ivh
# rpm -ivh
# yum update
# yum install xapian-omega xapian-bindings-{php,python,tcl8,perl,ruby}

(or whatever Xapian packages you want to install).

perl-Search-Xapian is available for those not using the SWIG bindings.

EPEL has older 1.2.x packages for RHEL 6:


Packages for slackware linux are available from slackbuilds.

Source RPMs

The source RPMs (the 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

Other RPM-based distributions

These RPM-based distributions have their own RPM packages which might be better tailored:

Other Linux Distributions

FreeBSD Ports Collection

The FreeBSD Ports Collection has packages for xapian-core, xapian-omega, xapian-bindings (Python, Ruby and PHP), and Search::Xapian.

NetBSD pkgsrc

The NetBSD pkgsrc collection has packages for xapian-core, xapian-omega, and Search::Xapian.


OpenBSD Ports has packages for xapian-core and xapian-omega.

Mac OS X

Homebrew has xapian-core and the bindings for several languages packaged. For example, use brew install --build-from-source xapian --with-python to install the core library and the Python bindings (note that currently you need to have installed python from Homebrew first).

The Fink project has packages for xapian-core, Omega, and the Python and Ruby bindings.

Alternatively, MacPorts has packages for xapian-core.


Packages for xapian-core, xapian-bindings, and Search::Xapian are available from Cygwin Ports.

Microsoft Windows

To build for native Microsoft Windows (not using Cygwin) the standard source tarball can be built using MSYS+mingw.