sudo apt-get build-dep pari sudo apt-get install libreadline-dev libgmp-dev sudo dnf install readline-devel gmp-devel sudo apt-get install git bison sudo dnf install git bison git clone http://pari.math.u-bordeaux.fr/git/pari.git cd pari tar xf pari-2.10.0.alpha.tar.gz cd pari-2.10.0.alpha ./Configure --prefix=GPDIR --mt=pthread make -j4 gp make doc make statest-all make install make install-bin-sta ./Configure --prefix=GPDIR.dbg -g make -j4 gp make install -C Olinux-x86_64.dbg 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 ./Configure -l make install