# Install Rviz2

Source: [https://docs.qualcomm.com/doc/80-65220-2/topic/install-rviz2_5_1_3.html](https://docs.qualcomm.com/doc/80-65220-2/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](https://docs.qualcomm.com/doc/80-65220-2/topic/set-up-the-runtime-environment-for-samples_5_1.html)

Last Published: Jul 08, 2024

[Previous Topic
Generate and install slam-gmapping IPKs](https://docs.qualcomm.com/bundle/publicresource/80-65220-2/topics/generate-and-install-slam-gmapping-ipks_5_1_2.md) [Next Topic
Open-source samples](https://docs.qualcomm.com/bundle/publicresource/80-65220-2/topics/open-source-samples_5_2.md)