Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
install:macos [2023/05/08 09:20] – [Install Perlbrew] paffenholz | install:macos [2024/04/11 16:57] (current) – [Install dependencies with Homebrew] paffenholz | ||
---|---|---|---|
Line 35: | Line 35: | ||
\curl -L https:// | \curl -L https:// | ||
</ | </ | ||
+ | |||
+ | We have to add some variables to the shell environment. Recent macs usually use '' | ||
+ | < | ||
+ | echo $SHELL | ||
+ | </ | ||
+ | If you use '' | ||
+ | * replace '' | ||
+ | * add < | ||
Now add some paths to your Terminal config and reload the config. For an Intel Mac type the following lines in the terminal: | Now add some paths to your Terminal config and reload the config. For an Intel Mac type the following lines in the terminal: | ||
Line 66: | Line 74: | ||
brew install ninja | brew install ninja | ||
brew install ccache | brew install ccache | ||
+ | brew install mongo-c-driver | ||
+ | brew install jupyterlab | ||
</ | </ | ||
Line 75: | Line 85: | ||
cpanm --local-lib=~/ | cpanm --local-lib=~/ | ||
cpanm SVG | cpanm SVG | ||
- | cpanm Moo | ||
- | cpanm MongoDB | ||
cpanm JSON | cpanm JSON | ||
cpanm install Net::SSLeay | cpanm install Net::SSLeay | ||
cpanm Term:: | cpanm Term:: | ||
+ | cpanm Term:: | ||
+ | cpanm XML::SAX | ||
</ | </ | ||
- | ==== Install a python dependence ==== | ||
- | |||
- | < | ||
- | pip3 install jupyter --user | ||
- | </ | ||
- | This may complain about a path not being set. If so, add this to your $PATH-variable. | ||
==== Download polymake ==== | ==== Download polymake ==== | ||
Line 96: | Line 100: | ||
< | < | ||
cd Downloads | cd Downloads | ||
- | tar -xvjf polymake-4.9.tar.bz2 | + | tar -xvjf polymake-4.11.tar.bz2 |
</ | </ | ||
==== Configure and install polymake ==== | ==== Configure and install polymake ==== | ||
+ | |||
+ | === Compilation === | ||
Essentially, | Essentially, | ||
< | < | ||
- | cd ~/ | + | cd ~/ |
./configure --without-java | ./configure --without-java | ||
ninja -C build/Opt -j2 install | ninja -C build/Opt -j2 install | ||
</ | </ | ||
- | However, we recommend to install into a directory in your $HOME-folder. For this, create a folder with | + | However, we recommend to install into a directory in your '' |
< | < | ||
mkdir $HOME/< | mkdir $HOME/< | ||
Line 116: | Line 122: | ||
< | < | ||
- | 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 126: | Line 132: | ||
</ | </ | ||
or add '' | or add '' | ||
+ | |||
+ | === Configuration === | ||
+ | |||
+ | If you use '' | ||
+ | < | ||
+ | set_custom $Visual:: | ||
+ | </ | ||
+ | inside the polymake shell. Replace '' | ||
+ | |||
+ |