File: compile.macOS.md

package info (click to toggle)
aseba 1.6.0-5
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 18,300 kB
  • sloc: cpp: 44,647; ansic: 5,686; python: 1,455; java: 1,136; sh: 393; xml: 202; makefile: 10
file content (41 lines) | stat: -rw-r--r-- 987 bytes parent folder | download
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
36
37
38
39
40
41
# Compile Aseba on macOS

It is very easy to compile from source Aseba for OS X, using [homebrew](https://brew.sh).

## Preliminary, check your shell

Open a terminal and check which shell you have by typing:

    echo $SHELL

If the answer is `/bin/tcsh`, please run the commands in bash. To do so, type:

    bash

Otherwise skip this step and continue.

## Preliminary, install homebrew

You should not have ad hoc package system installed such as MacPorts.
To install homebrew, run the following command:

    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    
## Add the Aseba repository

In the terminal, run the following command:

    brew tap stephanemagnenat/aseba

## Install Aseba

You can choose to install either the stable version or the latest development version.
In the terminal, run the following command:

### For the stable version

    brew install aseba

### For the development version

    brew reinstall --HEAD aseba