sudo apt-get build-dep pari git clone http://pari.math.u-bordeaux.fr/git/pari.git cd pari tar xf pari-2.10-*.tar.gz cd pari-2.10-* ./Configure --prefix=GPDIR --mt=pthread make -j4 gp make doc make statest-all make install make install-bin-sta GPDIR/bin/gp histfile = "~/.gp\_history" colors = "lightbg" \\ or "darkbg" lines = 40 parisizemax = 4G \\ or the maximum amount of memory \\ GP can use (important) read "~/.gprc.gp" git fetch git rebase origin/master