gp2c: A compiler for translating GP routines to C - Packages and Features

Skip to content
Back to top
View this page
Edit this page

# gp2c: A compiler for translating GP routines to C

## Description

The gp2c compiler is a package for translating GP routines into the C programming language, so that they can be compiled and used with the PARI system or the GP calculator.

## License

GPL version 2+

## Upstream Contact

- http://pari.math.u-bordeaux.fr/

## Dependencies

- PARI

- Perl

## Type

optional

## Dependencies

- pari: Computer algebra system for fast computations in number theory

## Version Information

package-version.txt:

    0.0.14

## Equivalent System Packages

Debian/Ubuntu

    $ sudo apt-get install pari-gp2c

Fedora/Redhat/CentOS

    $ sudo dnf install gp2c

FreeBSD

    $ sudo pkg install math/gp2c

Gentoo Linux

    $ sudo emerge sci-mathematics/gp2c

openSUSE

    $ sudo zypper install gp2c

Void Linux

    $ sudo xbps-install gp2c

See https://repology.org/project/gp2c/versions

If the system package is installed, `./configure` will check if it can be used.