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 [2024/02/05 10:53] – [Configure and install polymake] paffenholzinstall:macos [2024/04/11 15:55] – [Install a python dependence] paffenholz
Line 74: Line 74:
 brew install ninja brew install ninja
 brew install ccache brew install ccache
 +brew install mongo-c-driver
 </code> </code>
  
Line 86: Line 87:
 cpanm install Net::SSLeay cpanm install Net::SSLeay
 cpanm Term::ReadLine::Gnu cpanm Term::ReadLine::Gnu
 +cpanm Term::ReadKey
 +cpanm XML::SAX
 </code> </code>
  
 ==== Install a python dependence ==== ==== Install a python dependence ====
  
 +If you use pip for python dependencies, then do
 <code> <code>
 pip3 install jupyter --user pip3 install jupyter --user
 </code> </code>
 This may complain about a path not being set. If so, add this to your $PATH-variable.  This may complain about a path not being set. If so, add this to your $PATH-variable. 
 +
 +If you use conda, then do
 +<code>
 +conda install jupyter-notebook
 +</code>
  
 ==== Download polymake ==== ==== Download polymake ====
Line 106: Line 115:
  
 ==== Configure and install polymake ==== ==== Configure and install polymake ====
 +
 +=== Compilation ===
  
 Essentially, polymake is compiled and installed with the following commands. This will put the polymake binary into ''/usr/local''. You may have to use ''sudo'' for installing. Essentially, polymake is compiled and installed with the following commands. This will put the polymake binary into ''/usr/local''. You may have to use ''sudo'' for installing.
Line 122: Line 133:
  
 <code> <code>
-cd ~/Downloads/polymake-4.9+cd ~/Downloads/polymake-4.11
 ./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 132: Line 143:
 </code> </code>
 or add ''$HOME/<polymake_install_folder>/bin/'' to your path. or add ''$HOME/<polymake_install_folder>/bin/'' to your path.
 +
 +=== Configuration ===
 +
 +If you use ''Safari'' as your default browser, then you need to switch to another one for polymake. Please do
 +<code>
 +set_custom $Visual::webbrowser=open -a "Firefox"
 +</code>
 +inside the polymake shell. Replace ''Firefox'' by ''Google Chrome'' if you prefer this browser.
 +
 +
  • install/macos.txt
  • Last modified: 2024/04/11 16:57
  • by paffenholz