polymake: Computations with polyhedra, fans, simplicial complexes, matroids, graphs, tropical hypersurfaces

Description

polymake is open source software for research in polyhedral geometry. It deals with polytopes, polyhedra and fans as well as simplicial complexes, matroids, graphs, tropical hypersurfaces, and other objects. Supported platforms include various flavors of Linux, Free BSD and Mac OS.

License

  • GPL v3

Upstream Contact

Dependencies

Polymake needs a working installation of Perl, including its shared library and some modules (XML::Writer XML::LibXML XML::LibXSLT Term::ReadLine::Gnu JSON SVG). The Sage distribution provides these using Perlbrew.

Before installing the polymake package, refer to the SPKG pages for the following packages to ensure a more featureful Polymake installation:

For additional software that may enhance your Polymake installation (but for which no Sage package is available), you can manually install the following:

  • azove

  • porta

  • vinci

  • SplitsTree4

Information on missing Polymake prerequisites after installing polymake:

$ sage -sh
(sage-sh) $ polymake
polytope> show_unconfigured;

In order to use Polymake from Sage, please install [passagemath-polymake](https://passagemath.org/docs/latest/html/en/reference/spkg/sagemath_polymake.html).

Debugging polymake install problems

# apt-get install libdevel-trace-perl
$ cd src
$ perl -d:Trace support/configure.pl

Type

optional

Dependencies

Version Information

package-version.txt:

4.15

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

Installation commands

$ sage -i polymake
$ sudo pacman -S polymake
$ sudo apt-get install polymake libpolymake-dev
$ sudo dnf install polymake
$ brew install apaffenholz/polymake/polymake
$ nix-env -f \'\<nixpkgs\>\' --install --attr polymake
$ sudo zypper install polymake polymake-devel

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