Browse files

Updated installation instructions

  • Loading branch information...
desbma committed Apr 16, 2012
1 parent 2b5a5fe commit d8d5808a32977fedbdf9485a0bf6a00b8effb7b8
Showing with 3 additions and 28 deletions.
  1. +3 −28
@@ -38,36 +38,11 @@ It contains one of these nodes immediately above the root:
* [httplib2 0.7+](
-I use the following Bash script to compile and install both on Ubuntu 10.10:
+### Ubuntu users
+On recent Ubuntu versions, you can install all dependencies by running the following command line:
-THREAD_COUNT=$([ $(which getconf) ] && getconf _NPROCESSORS_ONLN || grep -cE '^processor' /proc/cpuinfo)
-TMP_DIR=$(mktemp -d /tmp/$(basename -- $0).XXXXXXXXXX)
-# checkinstall
-sudo apt-get -y install checkinstall
-# python 3.2
-sudo apt-get -y install build-essential libncursesw5-dev libreadline5-dev libssl-dev libgdbm-dev libc6-dev libsqlite3-dev tk-dev libbz2-dev
-wget -P $TMP_DIR
-tar -xJf $TMP_DIR/Python-3.2.1.tar.xz -C $TMP_DIR
-pushd $TMP_DIR/Python-3.2.1 > /dev/null
-make -j $THREAD_COUNT
-sudo checkinstall --pkgname=python3.2 --pkgversion=3.2.1 --backup=no --deldoc=yes --fstrans=no --default make altinstall
-popd > /dev/null
-ln -sv /usr/local/bin/python3.2 /usr/local/bin/python3
-ln -sv /usr/local/bin/pydoc3.2 /usr/local/bin/pydoc3
-# httplib2
-wget -P $TMP_DIR
-tar -xzf $TMP_DIR/httplib2-0.7.2.tar.gz -C $TMP_DIR
-pushd $TMP_DIR/httplib2-0.7.2 > /dev/null
-sudo python3 install
-popd > /dev/null
-# cleanup
-sudo rm -Rf $TMP_DIR
+sudo apt-get -V install python3 python3-httplib2
The code has only been tested on Linux but is fully OS neutral.

0 comments on commit d8d5808

Please sign in to comment.