# Install Rviz2

Source: [https://docs.qualcomm.com/doc/80-70015-265/topic/install-rviz2_5_1_3.html](https://docs.qualcomm.com/doc/80-70015-265/topic/install-rviz2_5_1_3.html)

Install Rviz2 to view the map in some sample applications.

## About this task

**Prerequisites:**

- A host machine running Ubuntu 22.04 is ready.

**Steps:**

## Procedure

1. Install ROS 2 by referring to the [ROS 2 Documentation: Humble](https://docs.ros.org/en/humble/).
        
Note:  When installing ROS2 packages, use the Install
              Desktop option, which includes Rviz2.
2. To start the Rviz2, run these commands:
        
Note:  Value range of `ROS_DOMAIN_ID`:
            [0, 232]

        source /opt/ros/humble/setup.bash
        export ROS_DOMAIN_ID=xx
        rviz2Copy to clipboard

**Parent Topic:** Set up the runtime environment for samples

Last Published: Oct 15, 2024

Previous Topic
 
Generate and install slam-gmapping IPKs Next Topic

Open-source samples