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 revision
Previous revision
Next revisionBoth sides next revision
install:install [2020/06/09 11:52] – [Arch Linux] hnagelinstall:install [2020/06/15 12:34] – no docs build anymore 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 177: Line 179:
  
 **Note:** If you are installing polymake in your home-directory, i.e. you have set ''%%--prefix%%'', you should omit ''sudo'' in the above commands. **Note:** If you are installing polymake in your home-directory, i.e. you have set ''%%--prefix%%'', you should omit ''sudo'' in the above commands.
- 
-==== Building the documentation ==== 
-Finally, to obtain a copy of the reference documentation in HTML format (gathering everything you can get with interactive ''help'' commands a one place), run 
-  sudo make release-docs 
- 
-This will create all files in the documentation directory chosen during the configuration, again omit sudo for a user-install. By default the documentation will be installed into ''/usr/local/share/polymake/doc'' 
- 
-If you have already used polymake and installed extensions to polymake then to include them for the documentation, run 
-  sudo make docs 
- 
-Should you import or create a new extension later, you can also run the polymake script ''generate_docs'' to complete your documentation. 
  
 ===== Dependency lists for common distros ===== ===== Dependency lists for common distros =====
Line 201: Line 192:
  
 === 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 206:
 ==== 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 220:
  
 <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 229:
 ==== 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