After downloading the file gp2c-x.y.zplt.tar.gz (where x,y,z
and t depend on the version), you first have to unzip the file with the
command:
gunzip gp2c-x.y.zplt.tar.gz
This will create the new file gp2c-x.y.zplt.tar. Next you have to
extract the files with the tar program:
tar -xvf gp2c-x.y.zplt.tar
Note: You can do both steps at once with GNU tar by using the command:
tar -zxvf gp2c-x.y.zplt.tar.gz
This creates a directory gp2c-x.y.zplt, which contains the main
gp2c files. Now you have to install the program. Check
where the root of the PARI source is (it may be something like:
/home/.../pari-2.1.3), and symlink it to ./pari :
ln -s /home/.../pari-2.1.3 pari
Run ./configure, which will search for the PARI version and some other configuration tools of the system. To install the program, type make, and the program will be compiled. You can then run make check to verify that everything has gone fine (a bunch of OK's should show up). All this is completely standard, and you are now ready to use gp2c.
You can use gp2c directly from this directory or you can install it by running make install as root. If you do not install it, you can run it from the gp2c directory by typing ./gp2c