Created
August 6, 2014 15:55
-
-
Save areski/0919d3b0874fd49ec172 to your computer and use it in GitHub Desktop.
Install xapian Core and Bindings on Ubuntu 14.04 LTS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install xapian Core and Bindings | |
apt-get install zlib1g-dev | |
apt-get install g++ | |
curl -O http://oligarchy.co.uk/xapian/1.2.18/xapian-core-1.2.18.tar.xz | |
curl -O http://oligarchy.co.uk/xapian/1.2.18/xapian-bindings-1.2.18.tar.xz | |
unxz xapian-core-1.2.18.tar.xz | |
unxz xapian-bindings-1.2.18.tar.xz | |
tar xvf xapian-core-1.2.18.tar | |
tar xvf xapian-bindings-1.2.18.tar | |
cd xapian-core-1.2.18 | |
./configure | |
make | |
sudo make install | |
cd .. | |
cd xapian-bindings-1.2.18 | |
./configure | |
make | |
sudo make install |
Nowadays:
sudo apt-get install python-xapian
sudo apt-get install libxapian-dev
Test if it works for Python (start Python shell):
python
Do the import:
import xapian
in my case missing this: apt-get install php7.0-xml
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
the http URLs for curl do not work anymore (changing them to https solves the issue).