summaryrefslogtreecommitdiff
path: root/brew/README.md
blob: 2d85f662620e665091cb05fa96ae85fa6f543f46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
openEMS Homebrew
================

This is a [homebrew](http://brew.sh) formula to install [openEMS](http://openEMS.de) and all dependencies.

How to install openEMS:
-----------------------

You can install openEMS using this URL:
```bash
  brew install --HEAD https://raw.github.com/thliebig/openEMS-Project/master/brew/openEMS.rb
```

Then create a folder and symbolic link in your home folder with these commands

```
mkdir ~/opt
ln -s /usr/local/Cellar/openEMS/HEAD ~/opt/openEMS
```

Install Octave if it isn't already installed

```
brew install octave
```

Start Octave from the command line and add the openEMS paths

```
addpath('~/opt/openEMS/share/openEMS/matlab');
addpath('~/opt/openEMS/share/CSXCAD/matlab');
savepath()
```

Verify your installation by completing the First Steps section of the Tutorials. http://openems.de/index.php/Tutorial:_First_Steps