Downloads

The latest release is 1.0.10:

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

Debian and Ubuntu packages

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 more recent 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 stable (etch), and testing/unstable, and for Ubuntu dapper (6.06), feisty (7.04), gutsy (7.10), and hardy (8.04). The repository is signed with a GPG key. The original key expired so 1.0.7 and later are signed by a new key which has this fingerprint:

2F40 2DEE 23BE C7AD C665 CA99 C953 695C 3E84 0A52

(Should you need to install a package signed by the old key, its fingerprint was: 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:

$ wget -O- http://www.xapian.org/debian/archive_key.asc|sudo apt-key add -
enter your root password

If you're running Debian stable (etch) 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 haven't yet been uploaded to Debian), 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 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

Ubuntu gutsy has 1.0.2 packages. To get newer packages, add the following to your sources.list:

deb http://www.xapian.org/debian gutsy main
deb-src http://www.xapian.org/debian gutsy main

Ubuntu hardy has 1.0.5 packages, except for xapian-omega which is 1.0.4. To get newer packages, add the following to your sources.list:

deb http://www.xapian.org/debian hardy main
deb-src http://www.xapian.org/debian hardy 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

RPM packages

Fedora

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.

RedHat Enterprise Linux

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.

Source RPMs

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

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 and PHP), and Search::Xapian.

NetBSD pkgsrc

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

Mac OS X

The Fink project has packages for xapian-core.

Cygwin

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.

Compiling on MS Windows with MSVC

You can download makefiles for compiling with MSVC, originally put together by Ulrik Petersen, and further refined and currently maintained by Charlie Hull.