| Both sides previous revision Previous revision Next revision | Previous revision |
| download:start [2024/01/15 15:10] – zenodo link benmuell | download:start [2026/09/17 12:17] (current) – external edit 127.0.0.1 |
|---|
| The online version runs as a "shell in a box" in your browser. No installation needed! \\ Examples of ''polymake'' code are available on the [[user_guide:start|tutorial page]]. Notice that the online version comes with a few restrictions (including missing visualization) compared to the complete version. | The online version runs as a "shell in a box" in your browser. No installation needed! \\ Examples of ''polymake'' code are available on the [[user_guide:start|tutorial page]]. Notice that the online version comes with a few restrictions (including missing visualization) compared to the complete version. |
| |
| ===== Get latest stable release: 4.11 ===== | ===== Get latest stable release: 4.15 ===== |
| Stable versions are released on a regular basis and offer the complete functionality of ''polymake'' available at the point of release. You can read about new features in the release notes [[:news/release_4_11|here]]. | Stable versions are released on a regular basis and offer the complete functionality of ''polymake'' available at the point of release. You can read about new features in the release notes [[:news/release_4_14|here]]. |
| |
| ==== Linux, FreeBSD, Solaris, or other UNIX systems ==== | ==== Linux, FreeBSD, Solaris, or other UNIX systems ==== |
| === To build polymake yourself === | === To build polymake yourself === |
| * Read the [[install:install|Installation instructions]] | * Read the [[install:install|Installation instructions]] |
| * Download the {{:download:polymake-4.11.tar.bz2|source tarball}} | * Download the {{:download:polymake-4.15.tar.bz2|source tarball}} |
| | |
| The polymake sources are also available on [[https://zenodo.org/doi/10.5281/zenodo.4428242|Zenodo]]. | |
| |
| == Minimal version == | == Minimal version == |
| The minimal version is a packager friendly version which omits the bundled sources of ''cdd'', ''lrs'', ''libnormaliz'', ''nauty'' and ''jReality''. | The minimal version is a packager friendly version which omits the bundled sources of ''cdd'', ''lrs'', ''libnormaliz'', ''nauty'' and ''jReality''. |
| * Download the {{:download:polymake-4.11-minimal.tar.bz2|minimal source tarball}} | * Download the {{:download:polymake-4.15-minimal.tar.bz2|minimal source tarball}} |
| | |
| | == Zenodo == |
| | The polymake sources are also available on [[https://zenodo.org/doi/10.5281/zenodo.4428242|Zenodo]]. |
| | |
| | === polymake ready to run === |
| | We now provide [[install:jll|prebuilt tarballs]] that can be extracted and run on Linux and macOS. |
| | |
| | === MaPS === |
| | You can also install polymake using the [[https://github.com/aaruni96/maps|MaPS]] system. |
| | |
| | First get polymake using |
| | <code> |
| | maps --deploy org.polymake.polymake/x86_64/4.13 |
| | </code> |
| | Then run this container using |
| | <code> |
| | maps --run org.polymake.polymake/x86_64/4.13 |
| | </code> |
| |
| === JLL Binaries === | |
| We now provide [[install:jll|binary tarballs]] that can be extracted and run on Linux and macOS. | |
| ==== MacOS ==== | ==== MacOS ==== |
| |
| **NOTE**: Provision of binaries is currently limited. Building from the sources has been tested and works. You can just use [[https://github.com/apaffenholz/homebrew-polymake|our homebrew tap]] or follow the instructions below. | **NOTE**: The current release cannot be compiled or installed on the most recent MacOS (Tahoe). You can still use the versions contained in Oscar or sage. |
| | |
| | **NOTE**: You can use [[https://github.com/apaffenholz/homebrew-polymake|our homebrew tap]] or follow the instructions below. |
| |
| === Binary Releases === | === Binary Releases === |
| |
| You have two options: Download one of our bundles and just drag it to /Applications, or install via [[https://github.com/apaffenholz/homebrew-polymake|our tap]] for [[https://brew.sh/|Homebrew]]. | You have two options: Install via [[https://github.com/apaffenholz/homebrew-polymake|our tap]] for [[https://brew.sh/|Homebrew]], or use the [[install:jll|polymake ready to run tarballs]]. |
| |
| == Homebrew == | == Homebrew == |
| </code> | </code> |
| |
| == Bundles == | === Source Installation === |
| |
| There are precompiled bundles for MacOS between 10.11 and 11.1, see below. Install a bundle by dragging the app to /Applications. See [[install:macos/bundles#Installing the App Bundle|here for more information]]. | Read the [[install:macos|Installation instructions]] on how to compile the current version of polymake yourself. |
| * polymake 4.9 | |
| * [[https://www.polymake.org/downloads/polybundle-v4.9-macos-11.3-perl-5.30.2-v6.dmg|MacOS 11.3 bundle]] | |
| * polymake 4.6 | |
| * [[https://www.polymake.org/downloads/polybundle-4.6-macos-10.14-perl-5.18.2-v1.dmg|MacOS 10.14 bundle]] | |
| * [[https://www.polymake.org/downloads/polybundle-4.6-macos-10.15.6-perl-5.18.4-v1.dmg|MacOS 10.15 bundle]] | |
| * polymake 4.4 | |
| * [[https://www.polymake.org/downloads/polybundle-v4.4-macos-10.14-perl-5.18.4-v1.dmg|MacOS 10.14.6 bundle]] | |
| * polymake 4.3 | |
| * //experimental// [[https://www.polymake.org/downloads/polybundle-v4.3-macos-11.2-applem1-perl-5.28.2-v1.dmg|MacOS 11.2 arm64 bundle]] for Apple M1 | |
| |
| You may need to manually unsandbox the bundle (as it is not officially signed by Apple). For this, run | === Visualization === |
| | |
| | If you use ''Safari'' as your default browser, then you need to switch to another one for polymake. Please do |
| <code> | <code> |
| sudo xattr -r -d com.apple.quarantine /Applications/polymake.app/ | set_custom $Visual::webbrowser=open -a "Firefox" |
| </code> | </code> |
| in a terminal (assuming you installed it to /Applications, otherwise adjust the path). | inside the polymake shell. Replace ''Firefox'' by ''Google Chrome'' if you prefer this browser. |
| | |
| You can use the bundle also in a Jupyter notebook or in Julia. For more details see [[install:macos/bundles#Jupyter Notebooks with the Bundle|here for Jupyter]] and [[install:macos/bundles#Using the Bundle for Polymake.jl in Julia|here for Julia]] | |
| | |
| | |
| === Source Installation === | |
| | |
| Read the [[install:macos|Installation instructions]] on how to compile the current version of polymake yourself. | |
| |
| ===== Debian, Fedora, Gentoo, Ubuntu ===== | ===== Debian, Fedora, Gentoo, Ubuntu ===== |
| **Warning:** Unfortunately due to changes in perl 5.38 which polymake cannot support the package has been withdrawn from several Linux distributions that have updated to the new perl release. Please try our new [[install:jll|jll-based binaries]] or [[install:install|build polymake from source]]. | |
| |
| We are proud to announce that ''polymake'' is also part of the package library of the Debian, Fedora, Gentoo and Ubuntu distributions and can be installed from their corresponding package managers. Thanks to the maintainers! | We are proud to announce that ''polymake'' is also part of the package library of the Debian, Fedora, Gentoo and Ubuntu distributions and can be installed from their corresponding package managers. Thanks to the maintainers! |
| **Remark:** The **[[:callable|callable library]]** version is part of any ''polymake'' source release but might not be included in all versions distributed via packaging systems. | **Remark:** The **[[:callable|callable library]]** version is part of any ''polymake'' source release but might not be included in all versions distributed via packaging systems. |
| |
| =====Windows 10 with the Linux Subsystem===== | =====Windows 10 or 11 with the Linux Subsystem===== |
| The preferred way to install ''polymake'' in Windows 10 systems is under the [[https://docs.microsoft.com/en-us/windows/wsl/install-win10|Linux Subsystem]]. Both Ubuntu and Debian have ''polymake'' in their repositories. Install Ubuntu under Windows 10, then download the Ubuntu package with | The preferred way to install ''polymake'' in Windows 10 or 11 systems is under the [[https://learn.microsoft.com/en-us/linux/install|Linux Subsystem]]. Both Ubuntu and Debian have ''polymake'' in their repositories. Install Ubuntu under Windows 10 or 11, then download the Ubuntu package with |
| |
| sudo apt-get install polymake | sudo apt-get install polymake |
| |
| **Remark:** Visualization in the Linux Subsystem does not work out of the box | **Remark:** Visualization in the Linux Subsystem does not work out of the box |
| because of several issues. The current workaround is to load {{:download:wslviewer.pl | this polymake script }} that adapts the paths and uses a native windows program for opening the resulting file, which requires Windows 10 version 1903. You may load this script automatically at the beginning of every polymake session by adding a line | because of several issues. The current workaround is |
| | * if still Windows 10: to load {{:download:wslviewer.pl | this polymake script}} (this requires Windows 10 version 1903), |
| | * install the package ''wslu'' with ''sudo apt-get install wslu'' and use {{:download:wslviewer11.pl | this polymake script }}, |
| | that adapts the paths and uses a native windows program for opening the resulting file. You may load this script automatically at the beginning of every polymake session by adding a line |
| <code>script("$ENV{HOME}/path/to/wslviewer.pl");</code> to your personal startup file ''$HOME/.polymake/prefer.pl'' file (since polymake 4.4 this file is renamed to ''init.pl'' and must be activated via custom variable ''$init_script''). Please be aware that this script is still //work in progress// and works only for threejs, tikz and svg at the moment. | <code>script("$ENV{HOME}/path/to/wslviewer.pl");</code> to your personal startup file ''$HOME/.polymake/prefer.pl'' file (since polymake 4.4 this file is renamed to ''init.pl'' and must be activated via custom variable ''$init_script''). Please be aware that this script is still //work in progress// and works only for threejs, tikz and svg at the moment. |
| | |
| | **Note** that you may have to additionally install ''texlive'', if you want to use the tikz backend (with ''sudo apt-get install texlive'') and ''libsvg-perl'' for svg (with ''sudo apt-get install libsvg-perl''). Not also that, if you install one of these packages after you have started polymake for the first time, you may have to do a ''reconfigure "common::pdfviewer";'' or ''reconfigure "common::svg";'' in the polymake shell to use the backend. |
| |
| =====Docker images===== | =====Docker images===== |
| * Extensions to ''polymake'' for specific tasks can be found [[:extensions|here]] | * Extensions to ''polymake'' for specific tasks can be found [[:extensions|here]] |
| * Data in polymake format is collected [[:polydb|here]]. | * Data in polymake format is collected [[:polydb|here]]. |
| | * Older polymake downloads can be found [[:download:versions|here]]. |