Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| install:macos [2024/04/11 16:57] – [Install dependencies with Homebrew] paffenholz | install:macos [2026/09/17 12:17] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 100: | Line 100: | ||
| < | < | ||
| cd Downloads | cd Downloads | ||
| - | tar -xvjf polymake-4.11.tar.bz2 | + | tar -xvjf polymake-4.13.tar.bz2 |
| </ | </ | ||
| Line 107: | Line 107: | ||
| === Compilation === | === Compilation === | ||
| - | Essentially, polymake is compiled | + | Finally, we can compile |
| + | - You may opt to install polymake into the standard installation location for additional software on your computer. This will place the compiled version of polymake into the directory | ||
| + | - You may also provide a separate directory in your home folder | ||
| + | For the first option you will need administrator permissions for your computer and probably prefix the commands below with '' | ||
| + | |||
| + | Advantage of the second option is, that you do not need administrator permissions for the installation, | ||
| + | |||
| + | If you opt to install into a subfolder of your home folder, then please create one before proceeding. For this, create a folder with | ||
| < | < | ||
| - | cd ~/Downloads/ | + | mkdir $HOME/< |
| - | ./configure --without-java | + | |
| - | ninja -C build/Opt -j2 install | + | |
| </ | </ | ||
| + | where ''< | ||
| - | However, we recommend | + | In the command below, you will also need to replace all occurences of ''< |
| + | * ''/ | ||
| + | * '' | ||
| + | * with the directory you installed brew into, if you chose a nonstandard location for the installation | ||
| + | |||
| + | Finally, we can compile polymake. If you chose option 1. above, then compile | ||
| < | < | ||
| - | mkdir $HOME/<polymake_install_folder> | + | cd ~/Downloads/ |
| + | ./configure --without-java --with-brew=<brew-install-location> | ||
| + | ninja -C build/Opt -j2 install | ||
| </ | </ | ||
| - | where ''< | ||
| + | If you chose option 2., then compile with | ||
| < | < | ||
| - | cd ~/ | + | cd ~/ |
| - | ./configure --without-java --prefix=$HOME/< | + | ./configure --without-java |
| ninja -C build/Opt -j2 install | ninja -C build/Opt -j2 install | ||
| </ | </ | ||
| Line 131: | Line 144: | ||
| $HOME/< | $HOME/< | ||
| </ | </ | ||
| - | or add '' | + | or just |
| + | < | ||
| + | polymake | ||
| + | </ | ||
| + | if you chose option 1.. For option 2., if you first do | ||
| + | < | ||
| + | export PATH=$PATH:'' | ||
| + | </ | ||
| + | in a terminal, then you can also start polymake by just typing '' | ||
| === Configuration === | === Configuration === | ||
| Line 137: | Line 159: | ||
| If you use '' | If you use '' | ||
| < | < | ||
| - | set_custom $Visual:: | + | set_custom $Visual:: |
| </ | </ | ||
| inside the polymake shell. Replace '' | inside the polymake shell. Replace '' | ||