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 automake autoconf sudo dnf install git bison automake autoconf git clone http://pari.math.u-bordeaux.fr/git/pari.git cd pari tar xf pari-2.12*.tar.gz cd pari-2.12* ./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.dbg make install -C Olinux-x86_64.dbg GPDIR/bin/gp wget https://pari.math.u-bordeaux.fr/\ pub/pari/packages/galdata.tgz tar xf galdata.tgz wget https://pari.math.u-bordeaux.fr/\ pub/pari/packages/elldata.tgz tar xf elldata.tgz wget https://pari.math.u-bordeaux.fr/\ pub/pari/packages/galpol.tgz tar xf galpol.tgz wget https://pari.math.u-bordeaux.fr/\ pub/pari/packages/seadata.tgz tar xf seadata.tgz make install-data histfile = "~/.gp_history" colors = "lightbg" \\ or "darkbg" lines = 40 parisizemax = 4G \\ or the maximum amount of memory \\ GP can use (important) threadsizemax = 1G read "~/.gprc.gp"