Skip to content

Install RoboStack packages with micromamba

Terminal window
"${SHELL}" <(curl -L micro.mamba.pm/install.sh)

For details, see the official Micromamba Installation instructions.

By default, the installer will set up conda-forge, the prefix location at ~/micromamba, and initialise shell variables in your ~/.bashrc.

Once installed, you can update micromamba with:

Terminal window
micromamba self-update

There are different channels depending on the version of ROS that you wish to install, to add these channels and install your desired version, you can run the following:

Terminal window
# Create a ros-noetic desktop environment
micromamba create -n ros_env -c conda-forge -c robostack-noetic ros-noetic-desktop
# Activate the environment
micromamba activate ros_env
# Add the robostack channel to the environment
micromamba config append channels robostack-noetic --env
Default tools to help with local development of ROS packages
micromamba activate ros_env
micromamba install -c conda-forge ros-dev-tools

After installation, you should test if you are able to run rviz/rviz2 and other ROS tools.

First terminal
micromamba activate ros_env
roscore
Second terminal
micromamba activate ros_env
rviz

If you run into any issues or for any frequently asked questions, you can check the FAQ page

Updating all packages in your environment is as easy as:

Terminal window
micromamba update --all

The (de)activation of the ros workspace goes in together with the conda environment. So running the corresponding (de)activation command will also (un)source the ros environment.

Terminal window
micromamba deactivate