Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
install:macos [2021/03/23 16:40] – [Install dependencies with Homebrew] paffenholz | install:macos [2021/03/25 10:24] – [Full script] paffenholz | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== Install polymake on Mac OS ===== | ===== Install polymake on Mac OS ===== | ||
- | The latest release 4.0 should work on all Mac OS versions greater or equal to 10.11. The installation requires a couple of steps (of which you have maybe done some already for other reasons): | + | The latest release 4.3 should work on all Mac OS versions greater or equal to 10.14. The installation requires a couple of steps (of which you have maybe done some already for other reasons): |
* Install the xcode command line tools | * Install the xcode command line tools | ||
* (for some versions) install SDK headers | * (for some versions) install SDK headers | ||
Line 20: | Line 20: | ||
< | < | ||
Either this tells you that your command line tools are installed or opens a small window that asks you whether you want to install them. Confirm. It also offers to install the full XCode IDE. This is **not** neccessary and **not** recommended (you then need to install the command line tools on top from whithin XCode). | Either this tells you that your command line tools are installed or opens a small window that asks you whether you want to install them. Confirm. It also offers to install the full XCode IDE. This is **not** neccessary and **not** recommended (you then need to install the command line tools on top from whithin XCode). | ||
- | |||
- | |||
- | ==== Special Instructions for Mac OS 10.14 and 10.15 ==== | ||
On MacOS **10.14** you may need an additional step. Run | On MacOS **10.14** you may need an additional step. Run | ||
Line 56: | Line 53: | ||
source $HOME/ | source $HOME/ | ||
</ | </ | ||
- | and for 10.15 do | + | and for 10.15 and 11 do |
< | < | ||
echo " | echo " | ||
Line 86: | Line 83: | ||
yes N | perlbrew install-cpanm | yes N | perlbrew install-cpanm | ||
cpanm --local-lib=~/ | cpanm --local-lib=~/ | ||
- | brew link --force readline | ||
- | cpanm Term:: | ||
- | brew unlink readline | ||
cpanm SVG | cpanm SVG | ||
cpanm Moo | cpanm Moo | ||
Line 96: | Line 90: | ||
cpanm install Net::SSLeay | cpanm install Net::SSLeay | ||
</ | </ | ||
+ | |||
+ | On **10.15** and later do | ||
+ | < | ||
+ | cpanm Term:: | ||
+ | </ | ||
+ | |||
+ | On **10.14** and earlier do | ||
+ | < | ||
+ | brew link --force readline | ||
+ | cpanm Term:: | ||
+ | brew unlink readline | ||
+ | </ | ||
+ | |||
==== Install a python dependence ==== | ==== Install a python dependence ==== | ||
Line 111: | Line 118: | ||
< | < | ||
cd Downloads | cd Downloads | ||
- | tar -tvfj polymake-4.0.tar.bz2 | + | tar -xvfj polymake-4.3.tar.bz2 |
</ | </ | ||
Line 119: | Line 126: | ||
< | < | ||
- | cd ~/ | + | cd ~/ |
./configure --without-java | ./configure --without-java | ||
ninja -C build/Opt -j2 install | ninja -C build/Opt -j2 install | ||
Line 131: | Line 138: | ||
< | < | ||
- | cd ~/ | + | cd ~/ |
./configure --without-java --prefix=$HOME/< | ./configure --without-java --prefix=$HOME/< | ||
ninja -C build/Opt -j2 install | ninja -C build/Opt -j2 install | ||
Line 144: | Line 151: | ||
==== Full script ==== | ==== Full script ==== | ||
- | [[https:// | + | [[https:// |