This shows you the differences between two versions of the page.
|
howto:install [2012/05/22 14:42] benmuell [Notes for Ubuntu 11.10 (oneiric)] added 12.04 |
howto:install [2012/06/07 16:41] (current) joswig [Notes for Ubuntu 11.04 (natty)] |
||
|---|---|---|---|
| Line 17: | Line 17: | ||
| ==== Notes for Ubuntu 11.10 and 12.04 (oneiric and precise) ==== | ==== Notes for Ubuntu 11.10 and 12.04 (oneiric and precise) ==== | ||
| On Ubuntu 11.10 and 12.04 installing the following packages (and their dependencies) should suffice to build ''polymake'' 2.12 from source: | On Ubuntu 11.10 and 12.04 installing the following packages (and their dependencies) should suffice to build ''polymake'' 2.12 from source: | ||
| - | <code>sudo apt-get install g++ libboost-dev libgmp-dev libgmpxx4ldbl libmpfr-dev libperl-dev libsvn-perl libterm-readline-gnu-perl libxml-libxml-perl libxml-libxslt-perl libxml-perl libxml-writer-perl libxml2-dev w3c-dtd-xhtml xsltproc | + | <code>sudo apt-get install ant default-jdk g++ libboost-dev libgmp-dev libgmpxx4ldbl libmpfr-dev libperl-dev libsvn-perl libterm-readline-gnu-perl libxml-libxml-perl libxml-libxslt-perl libxml-perl libxml-writer-perl libxml2-dev w3c-dtd-xhtml xsltproc |
| </code> | </code> | ||
| - | * If you want visualization you also need a Java Development Kit, e.g. the default-jdk package. | ||
| ==== Notes for Ubuntu 11.04 (natty) ==== | ==== Notes for Ubuntu 11.04 (natty) ==== | ||
| On Ubuntu 11.04 installing the following packages (and their dependencies) should suffice to build ''polymake'' 2.11 from source: | On Ubuntu 11.04 installing the following packages (and their dependencies) should suffice to build ''polymake'' 2.11 from source: | ||
| - | <code>sudo aptitude install gcc-4.4 g++-4.4 libperl-dev libterm-readline-gnu-perl libxml-libxml-perl libxml-libxslt-perl libxml-writer-perl libboost-dev libgmp3-dev libmpfr-dev libxml2-dev</code> | + | <code>sudo apt-get install gcc-4.4 g++-4.4 libperl-dev libterm-readline-gnu-perl libxml-libxml-perl libxml-libxslt-perl libxml-writer-perl libboost-dev libgmp3-dev libmpfr-dev libxml2-dev</code> |
| * The gcc version 4.5 shipped with Ubuntu does not compile polymake with a high optimization level (-O3), so it is recommended to use gcc 4.4. Use the configure options ''CC=gcc-4.4 CXX=g++-4.4''. | * The gcc version 4.5 shipped with Ubuntu does not compile polymake with a high optimization level (-O3), so it is recommended to use gcc 4.4. Use the configure options ''CC=gcc-4.4 CXX=g++-4.4''. | ||
| * If you want visualization you also need a Java Development Kit, e.g. the default-jdk package. | * If you want visualization you also need a Java Development Kit, e.g. the default-jdk package. | ||