install:install

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revisionBoth sides next revision
install:install [2020/06/09 11:52] – [Arch Linux] hnagelinstall:install [2020/06/15 12:32] – flint and updates benmuell
Line 50: Line 50:
   * Perl 5.16.0+, with all of the following modules:   * Perl 5.16.0+, with all of the following modules:
     * ''ExtUtils::Embed'', which some distributions ship separately as ''perl-ExtUtils-Embed''     * ''ExtUtils::Embed'', which some distributions ship separately as ''perl-ExtUtils-Embed''
-    * ''XML::LibXML'', ''XML::LibXSLT'', and ''XML::Writer''+    * ''XML::SAX''
     * ''Term::ReadLine::Gnu''     * ''Term::ReadLine::Gnu''
     * ''Term::ReadKey''     * ''Term::ReadKey''
 +    * ''JSON''
  
   * [[http://gmplib.org/|GMP library]] 5.1.0+ . Some Linux vendors split the GMP in two packages, shared libraries and development stuff.  Please install both. You also need to enable/install the C++ bindings for polymake version 2.11+.   * [[http://gmplib.org/|GMP library]] 5.1.0+ . Some Linux vendors split the GMP in two packages, shared libraries and development stuff.  Please install both. You also need to enable/install the C++ bindings for polymake version 2.11+.
   * [[http://www.mpfr.org/|MPFR library]] 3.0.0+ . Again both shared libraries and development stuff are required.   * [[http://www.mpfr.org/|MPFR library]] 3.0.0+ . Again both shared libraries and development stuff are required.
   * [[http://www.boost.org/|boost]] headers. The basic ''libboost-dev'' should suffice, no shared libraries are required for boost.   * [[http://www.boost.org/|boost]] headers. The basic ''libboost-dev'' should suffice, no shared libraries are required for boost.
 +  * [[http://flintlib.org/|FLINT]] 2.5.2+. (This dependency is strongly recommended but can be disabled if it cannot be fulfilled)
  
  
Line 201: Line 203:
  
 === Installation from Source === === Installation from Source ===
-On most recent Ubuntu versions installing the following packages (and their dependencies) should suffice to build ''polymake'' 3.from source:+On most recent Ubuntu versions installing the following packages (and their dependencies) should suffice to build ''polymake'' 4.from source:
 <code>sudo apt-get install ant ant-optional default-jdk g++ libboost-dev \ <code>sudo apt-get install ant ant-optional default-jdk g++ libboost-dev \
-libgmp-dev libgmpxx4ldbl libmpfr-dev libperl-dev libterm-readline-gnu-perl \ +libflint-dev libgmp-dev libgmpxx4ldbl libmpfr-dev libperl-dev libterm-readline-gnu-perl \ 
-libxml-libxml-perl libxml-libxslt-perl libxml-perl libxml-writer-perl +libxml-perl libxml-writer-perl libterm-readkey-perl libjson-perl ninja-build
-libterm-readkey-perl libxml2-dev libjson-perl xsltproc ninja-build+
 </code> </code>
  
Line 216: Line 217:
 ==== Fedora ==== ==== Fedora ====
  
-The following should suffice to be able to build polymake from source on Fedora 25+The following should suffice to be able to build polymake from source on Fedora
  
 <code>sudo dnf install ant java-1.8.0-openjdk-devel gcc-c++ boost-devel \ <code>sudo dnf install ant java-1.8.0-openjdk-devel gcc-c++ boost-devel \
-gmp-devel mpfr-devel perl-devel perl-XML-LibXML perl-XML-LibXSLT +flint-devel gmp-devel mpfr-devel perl-devel perl-XML-Writer 
-perl-XML-Writer libxml2-devel perl-ExtUtils-Embed perl-TermReadKey +perl-ExtUtils-Embed perl-TermReadKey perl-Term-ReadLine-Gnu bliss-devel 
-perl-Term-ReadLine-Gnu bliss-devel ninja-build perl-JSON</code>+ninja-build perl-JSON</code>
  
 You might need to specify the path to your java installation with ''%%--with-java=JAVA_HOME%%''. You might need to specify the path to your java installation with ''%%--with-java=JAVA_HOME%%''.
Line 230: Line 231:
  
 <code> <code>
-sudo pacman -S gcc libxml2 libxslt readline perl libxml-perl perl-xml-libxslt +sudo pacman -S gcc readline perl libxml-perl perl-xml-writer 
- perl-xml-writer perl-term-readline-gnu perl-term-readkey mpfr gmp boost ninja flint+perl-term-readline-gnu perl-term-readkey mpfr gmp boost ninja flint
 </code> </code>
  
Line 239: Line 240:
 ==== Scientific Linux ==== ==== Scientific Linux ====
 The following packages together with their dependencies should suffice to build polymake on a minimal install of SL7: The following packages together with their dependencies should suffice to build polymake on a minimal install of SL7:
-<code>lbzip2 perl gcc-c++ perl-XML-Writer perl-XML-LibXML perl-XML-LibXSLT \ +<code>lbzip2 perl gcc-c++ perl-XML-Writer perl-Term-ReadLine-Gnu 
-perl-Term-ReadLine-Gnu perl-Term-ReadKey gmp-devel mpfr-devel boost-devel \ +perl-Term-ReadKey gmp-devel mpfr-devel boost-devel perl-ExtUtils-Embed\ 
-libxml2-devel perl-ExtUtils-Embed</code> +ninja-build 
- +</code>
-There does not seem to be a ninja package for Scientific Linux, you can either fetch a generic binary or built it from source, see [[https://ninja-build.org/|here]] for details.+
  
 For visualization via jreality ''java-1.8.0-openjdk-devel'' and ''and-antlr'' are needed, passing ''%%--with-java=/usr/lib/jvm/java%%'' to configure should help with the java detection. For visualization via jreality ''java-1.8.0-openjdk-devel'' and ''and-antlr'' are needed, passing ''%%--with-java=/usr/lib/jvm/java%%'' to configure should help with the java detection.
  
  
  • install/install.txt
  • Last modified: 2023/10/06 07:43
  • by benmuell