-
-
Save barseghyanartur/94ad926bede1bbb42c9e to your computer and use it in GitHub Desktop.
Install xapian Core and Bindings with Python support 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 *************** | |
# ***************************************************** | |
sudo apt-get install zlib1g-dev | |
sudo apt-get install g++ | |
sudo apt-get install uuid-dev | |
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 | |
mkdir -p $HOME/local | |
./configure --prefix=$HOME/local | |
./configure | |
make | |
sudo make install | |
# ***************************************************** | |
# **** Install Xapian bindings with Python support **** | |
# ***************************************************** | |
cd .. | |
cd xapian-bindings-1.2.18 | |
./configure --with-python --prefix=$HOME/local/ | |
make | |
sudo make install | |
# ***************************************************** | |
# ********************* Check it ********************** | |
# ***************************************************** | |
python -c "import xapian" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment