Skip to content

Install RoboStack packages with Conda

To get started, you’ll need a base conda installation. We recommend using the Miniforge installer.

On Debian- and RPM-based distributions, you can also use the Debian and RPM repository for miniconda. To source the base environment:

Terminal window
source /opt/conda/etc/profile.d/conda.sh

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
conda create -n ros_env -c conda-forge -c robostack-noetic ros-noetic-desktop
# Activate the environment
conda activate ros_env
# Add the robostack channel to the environment
conda config --env --add channels robostack-noetic
Default tools to help with local development of ROS packages
conda activate ros_env
conda 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
conda activate ros_env
roscore
Second terminal
conda 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
conda 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
conda deactivate