Skip to content

Commit

Permalink
Small change for targeting Dome release (#106)
Browse files Browse the repository at this point in the history
Signed-off-by: anindex <[email protected]>

Co-authored-by: anindex <[email protected]>
Co-authored-by: Claire Wang <[email protected]>
  • Loading branch information
3 people authored Oct 6, 2020
1 parent 589e643 commit c369619
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions tutorials/02_installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,13 @@ Setup your computer to accept software from
sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list'
```

Setup keys:
Optionally, you also can add unstable nightly repository from **osrfoundation**:

```{.sh}
sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-nightly `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-nightly.list'
```

Then setup keys:

```{.sh}
wget http://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -
Expand All @@ -34,7 +40,8 @@ sudo apt-get update
sudo apt-get install libignition-physics<#>-dev
```

Be sure to replace `<#>` with a number value, such as `1` or `2`, depending on which version you need.
Be sure to replace `<#>` with a number value, such as `1`, `2` or `3`, depending on which version you need.
Note that our latest Dome release requires version **3**.

**Build from source**

Expand All @@ -43,7 +50,7 @@ Be sure to replace `<#>` with a number value, such as `1` or `2`, depending on w
sudo apt-add-repository -s "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable $(lsb_release -c -s) main"
sudo apt-get build-dep -y ignition-physics<#>-dev
```
Be sure to replace `<#>` with a number value, such as `1` or `2`, depending on which version you need.
Be sure to replace `<#>` with a number value, such as `1`, `2` or `3`, depending on which version you need.


2. Use gcc-8:
Expand All @@ -60,7 +67,7 @@ Be sure to replace `<#>` with a number value, such as `1` or `2`, depending on w
```
git clone https://github.com/ignitionrobotics/ign-physics -b ign-physics<#>
```
Be sure to replace `<#>` with a number value, such as `1` or `2`, depending on which version you need.
Be sure to replace `<#>` with a number value, such as `1`, `2` or `3`, depending on which version you need.


4. Configure and build
Expand Down Expand Up @@ -97,8 +104,8 @@ Run the following commands:
brew tap osrf/simulation
brew install ignition-physics<#>
```
Be sure to replace `<#>` with a number value, such as `1` or `2`, depending on which version you need.

Be sure to replace `<#>` with a number value, such as `1`, `2` or `3`, depending on which version you need.
Note that our latest Dome release requires version **3**.

**Build from source using Homebrew**

Expand All @@ -108,13 +115,13 @@ brew tap osrf/simulation
brew install ignition-physics<#> --only-dependencies
```

Be sure to replace `<#>` with a number value, such as `1` or `2`, depending on which version you need.
Be sure to replace `<#>` with a number value, such as `1`, `2` or `3`, depending on which version you need.

Clone the ign-physics repository from GitHub
```{.sh}
git clone https://github.com/ignitionrobotics/ign-physics -b ign-physics<#>
```
Be sure to replace `<#>` with a number value, such as `1` or `2`, depending on which version you need.
Be sure to replace `<#>` with a number value, such as `1`, `2` or `3`, depending on which version you need.

Then build using CMake
```{.sh}
Expand Down

0 comments on commit c369619

Please sign in to comment.