# Install Rviz2

Install Rviz2 to view the map in some sample applications.

**Prerequisites:**

- A host machine running Ubuntu 22.04 is ready.

**Steps:**

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
        rviz2
        Copy to clipboard

Last Published: Dec 30, 2024

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