[Xapian-discuss] Installing Omega on Ubuntu

Olly Betts olly at survex.com
Fri Mar 17 04:49:24 GMT 2006


On Thu, Mar 16, 2006 at 09:54:10PM -0500, Peter Masiar wrote:
> So I assume I have x86, 32bit.

You do, so you don't actually need to build packages from source at all
- there are x86 binary packages on www.xapian.org.  As download.php
says, you just need to add these two lines to your sources.list:

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

And then you can install xapian using synaptic (or any other apt package
manager which Ubuntu supports).

> Would be great to get them into this current ubuntu release, dapper.
> Dapper is supposed to be long-time release, supported for like 5 years.

Current Xapian development is going at quite a pace - if someone's
running a year-old version of Xapian (i.e. 0.8.5) there are real
benefits in upgrading, and if anything that will be more true in another
year.  So failing to make the freeze for a particular release isn't a
huge deal.  We can always provide up to date versions of Xapian as
packages built for dapper, or let Ubuntu's backports team produce them.

I think I can realistically tie up the loose ends in Richard's current
packages and get them accepted in debian in time for them to
automatically enter Ubuntu's dapper+1 and Debian's etch (I have a DD
friend who's agreed to sponsor uploads).

> Do you want me to dig for you a link on ubuntu wiki about
> how you can become MOTU (Master of the Universe) team member
> and package xapian+omega for ubuntu-universe?

If someone's interested in getting the packages into Ubuntu universe
sooner, I've no objections, but I already have more to do than there's
time for so if I have to become an MOTU member myself, Xapian
development will suffer in other ways.

> > dpkg -i xapian-omega*.deb xapian-bindings*.deb
> 
> This is dpkg command, does it have apt-get equivalent?

No, apt-get/aptitude/synaptic/etc all deal with package repositories.
You need to use dpkg to install a package file sitting on your harddisk.

> I read somewhere it might be bad to mix multiple programs to handle
> debian database - it might get confused.

There can sometimes be issues, but in this case it's the correct way.

> > Although you probably just want to list some of the package files
> > matching "xapian-bindings*.deb".
> 
> No idea what do you mean. Which apt-get command do you mean?

No, I mean that you'll have built multiple package files matching the
glob pattern xapian-bindings*.deb - one for python 2.2, one for python
2.3, one for python 2.4.  Actually I got the naming pattern wrong, and
they're called things like:

python2.4-xapian_0.9.4-2.99breezy_i386.deb

But you probably only want to install one of them, so:

dpkg -i xapian-omega*.deb python2.4-xapian*.deb

> > $ sudo dpkg -i libxapian* xapian-doc* xapian-tools*
[...]
> > $ dpkg -i xapian-omega*.deb xapian-bindings*.deb
> 
> 1st dpkg command is with sudo, 2nd is without. Omission?

Yes, both should have "sudo" in front.

Cheers,
    Olly



More information about the Xapian-discuss mailing list