Skip to content

Commit a13f785

Browse files
xela-95traversaro
andcommitted
Suggest to use conda instead of mamba and mambaforge
Co-authored-by: Silvio Traversaro <silvio@traversaro.it>
1 parent 573f62c commit a13f785

File tree

1 file changed

+14
-19
lines changed

1 file changed

+14
-19
lines changed

docs/how-to-use-plugins-with-ergoCub.md

+14-19
Original file line numberDiff line numberDiff line change
@@ -15,42 +15,37 @@ Note that some features of the ergocub model (mainly the depth sensors and the h
1515

1616
## Installation
1717

18-
The easiest ways to setup an environment with everything we need are:
18+
The easiest ways to setup an environment with everything we need is to follow only one of the following two options:
19+
20+
- [Creating a conda environment](#conda-environment)
21+
- [Using the robotology-superbuild](#installation-via-robotology-superbuild)
1922

20-
- Using the robotology-superbuild
21-
- Creating a conda environment
2223

2324
### Conda environment
2425

2526
#### Install a conda distribution
2627

27-
If you do not have one, please install a conda distribution. We suggest to use the minimal [mambaforge](https://github.com/conda-forge/miniforge#mambaforge) distribution, which uses conda-forge packages by default and installs the [mamba](https://github.com/mamba-org/mamba) command by default.
28+
If you do not have one, please install a conda distribution. We suggest to use the minimal [miniforge](https://github.com/conda-forge/miniforge) distribution, which uses conda-forge packages by default.
2829

29-
To install mambaforge, please follow the instructions in [install-mambaforge](https://github.com/robotology/robotology-superbuild/blob/master/doc/install-mambaforge.md) documentation.
30+
To install miniforge, please follow the instructions in [install-miniforge](https://github.com/robotology/robotology-superbuild/blob/master/doc/install-miniforge.md) documentation.
3031

3132
#### Create an environment
3233

3334
Then create the following environment with all the packages needed:
3435

35-
```bash
36-
mamba create -c conda-forge -c robotology -n ergocub-gz
37-
```
36+
~~~bash
37+
conda create -n ergocub-gz libgz-sim-yarp-plugins ergocub-software
38+
~~~
3839

39-
Then, activate the environment we created with:
40+
Once you did this, you can activate it with:
4041

41-
```bash
42-
mamba activate ergocub-gz
43-
```
44-
45-
and finally, install in it the packages we need:
46-
47-
```bash
48-
mamba install libgz-sim-yarp-plugins ergocub-software
49-
```
42+
~~~bash
43+
conda activate ergocub-gz
44+
~~~
5045

5146
### Installation via robotology-superbuild
5247

53-
[robotology-superbuild](https://github.com/robotology/robotology-superbuild/tree/master) is a meta repository that is able to download and compile a plethora of software from the [robotology](https://github.com/robotology) organization.
48+
[robotology-superbuild](https://github.com/robotology/robotology-superbuild) is a meta repository that is able to download and compile a plethora of software from the [robotology](https://github.com/robotology) organization.
5449

5550
First of all, we have to configure the superbuild such that it will download and install the software we need. It is possible to do this by enabling the appropriate options: in particular, we need to enable the `ROBOTOLOGY_ENABLE_CORE` profile with `ROBOTOLOGY_USES_GZ` option and disable the `ROBOTOLOGY_USES_GAZEBO` one.
5651

0 commit comments

Comments
 (0)