Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
polymake SPKG.txt: Mention File::Slurp and CPAN
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoeppe committed Mar 24, 2018
1 parent 9bf9f05 commit a924632
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions build/pkgs/polymake/SPKG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,24 @@ include various flavors of Linux, Free BSD and Mac OS.

Polymake needs a working installation of Perl, including its shared
library and some modules (XML::Writer XML::LibXML XML::LibXSLT).
The Polymake interface in Sage additionally needs File::Slurp.
These are not provided by a Sage package. Sage does install the
Term::Readline::Gnu module, however, when you install polymake.

On Ubuntu, use:
sudo apt-get install libxml-libxslt-perl libxml-writer-perl libxml2-dev libperl-dev libncurses-dev
sudo apt-get install libxml-libxslt-perl libxml-writer-perl libxml2-dev libperl-dev libncurses-dev libfile-slurp-perl

On Fedora 23, use:
sudo yum install perl-ExtUtils-Embed
sudo yum install perl-ExtUtils-Embed perl-File-Slurp

On Mac OS X, all modules (except for Term::Readline::Gnu) appear to be
standard.

A distribution-independent way to install Perl modules (into a user's
home directory) is using CPAN.

cpan -i XML::Writer XML::LibXML XML::LibXSLT File::Slurp


Several Sage packages should be installed before installing the
polymake package to give a more featureful Polymake installation:
Expand Down

0 comments on commit a924632

Please sign in to comment.