Installing gp2c
1/) After downloading the file gp2c-x.y.z plt.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.z plt.tar.gz
2) This will create the new file gp2c-x.y.z plt.tar. Next you have to extract
the files with the tar program:
tar -xvf gp2c-x.y.z plt.tar
Note: You can do both steps at once with GNU tar by using the command:
tar -zxvf gp2c-x.y.z plt.tar.gz
This creates a directory gp2c-x.y.z plt , which contains the main gp2c files.
3) Now you have to install the program.
You need the file pari.cfg. This file can be found in the PARI object
directory and is installed in $prefx/lib/pari/.
Copy or link this file in the gp2c directory, be sure to call it pari.cfg.
ln -s .../lib/pari/pari.cfg pari.cfg
4) 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 of this is
completely standard, and you are now ready to use gp2c.
5) 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
Partager