$\color{white}\colorbox{FE9227}{Progressing towards a solid foundation!}$

▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░ 20%


This document provides instructions for installing ROS2 Humble on Ubuntu 22.04 and creating a workspace. The installation process involves setting up locales, adding the ROS2 apt repository, and installing ros-humble-desktop. The workspace creation process involves creating a directory, resolving dependencies, and sourcing the workspace. An alias can also be created for easy sourcing of the environment and workspace.

<aside> ⚠️ ROS2 Humble Required Ubuntu 22.04 to be installed Installing Dual OS and upgrade laptop SSD

</aside>

installROS3.mp4

1. Installing ROS HUMBLE

a. Set locale

<aside> 💡 Make sure you have a locale that supports UTF-8. If you are in a minimal environment (such as a docker container), the locale may be something minimal like POSIX.

</aside>

Humble is testing with the following settings. However, it should be fine if you’re using a different UTF-8-supported locale.

locale
sudo apt update && sudo apt install locales
sudo locale-gen en_US en_US.UTF-8
sudo update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
export LANG=en_US.UTF-8
locale # verify settings

b. Setup Sources

You will need to add the ROS2 apt repository to your system.

<aside> 💡 Ensure that the Ubuntu Universe repository is enabled.

</aside>