mozul created page: macos_dependencies_install authored by Rémy Mozul's avatar Rémy Mozul
# Installing dependencies on MacOs #
## MacPorts ##
To easiest way to install LMGC90's prerequisites is to use a package manager. The developper team uses exclusively MacPorts and cannot provide any advice if an other one is used.
To install MacPort: follow the instructions provided [here] (https://www.macports.org/install.php)
## Installing ##
To download:
```shell
sudo port install git
```
To compile (beware, the *+vtk* and *+ python27* go with *cmake* and *vtk* respectively):
```
port install gcc49 python27 py27-numpy swig-python cmake +gui
```
Then you need to set the compiler and python as the default on your system:
```
sudo port select gcc mp-gcc49
sudo port select python python27
```
To visualize:
```
port install vtk +python27
```
and then download Paraview software from [here] (http://www.paraview.org/download)
To build the documentation:
```
sudo port install doxygen graphviz py27-sphinx py27-numpydoc texlive-latex-extra dvipng ImageMagick
```
To read tutorials:
```
sudo port install py27-jupyter
```
\ No newline at end of file