install:macos

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:macos [2021/03/24 10:56] – [Download polymake] paffenholzinstall: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.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.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:
 <code>xcode-select --install</code> <code>xcode-select --install</code>
 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/.bash_profile source $HOME/.bash_profile
 </code> </code>
-and for 10.15 do +and for 10.15 and 11 do 
 <code> <code>
 echo "export PERL5LIB=$HOME/perl5/lib/perl5:$HOME/perl5${PERL5LIB+:$PERL5LIB}" >> $HOME/.zshrc echo "export PERL5LIB=$HOME/perl5/lib/perl5:$HOME/perl5${PERL5LIB+:$PERL5LIB}" >> $HOME/.zshrc
Line 141: Line 138:
  
 <code> <code>
-cd ~/Downloads/polymake-4.0+cd ~/Downloads/polymake-4.3
 ./configure --without-java --prefix=$HOME/<polymake_install_folder> ./configure --without-java --prefix=$HOME/<polymake_install_folder>
 ninja -C build/Opt -j2 install ninja -C build/Opt -j2 install
Line 154: Line 151:
 ==== Full script ==== ==== Full script ====
  
-[[https://gist.github.com/apaffenholz/a406c3d862f18345c56eddc21907808f|Here]] is also a script that does almost all these steps and allows some configuration.+[[https://gist.github.com/apaffenholz/a406c3d862f18345c56eddc21907808f|Here]] is also a script for **10.15** and **11.1** that does almost all these steps and allows some configuration.
  • install/macos.txt
  • Last modified: 2024/04/11 16:57
  • by paffenholz