ISMR2025_Setup - rosmed/rosmed.github.io GitHub Wiki

Option 1: Download and Run the Docker image (Recommended)

(The details of the Docker image can be found in this page).

Pull the image using the following command:

$ docker pull rosmed/docker-ubuntu-vnc-desktop-slicerros2-lw:ismr2025

Please note that this Docker image is a lightweight version and only contains a binary package of 3D Slicer. If you plan to use the Docker image for 3D Slicer module development, you will need a full Docker image with 3D Slicer build files, which can be obtained by:

$ docker pull rosmed/docker-ubuntu-vnc-desktop-slicerros2:ismr2025

To execute the docker image, run the following command:

$ docker run -it --rm -p 6080:80 rosmed/docker-ubuntu-vnc-desktop-slicerros2-lw:ismr2025

(in case of using the full Docker image, specify rosmed/docker-ubuntu-vnc-desktop-slicerros2:ismr2025 instead).

In this example, the HTTP port (port 80) on the docker container will be mapped to port 6080 on the host computer. The '--rm' option will remove the container upon termination. If the Docker container is successfully started, its desktop environment can be accessed using a web browser by accessing https://localhost:6080.

Option 2: Build the environment on a Linux machine

For the second tutorial, install the following packages:

$ sudo apt-get install libxcursor-dev
$ sudo apt-get install lib-xinerama-dev
$ sudo apt install libasound2-dev libgl1-mesa-dev xorg-dev
$ sudo apt-get install libusb-1.0.0-dev
$ mkdir ambf_ws; cd ambf_ws; mkdir src; cd src;
$ git clone https://github.com/LauraConnolly/ambf
$ cd ambf
$ git checkout ros2-support
$ cd ~/ambf_ws
$ source /opt/ros/jazzy/setup.bash
$ colcon build

You might have to run this build a few times so the packages build in order!

Other modules to install in Slicer:


Back to Tutorial Home