By RWT Robotics Editorial Team Checked against 8 sources Published
Most failed ROS 2 installs fail on one point: the distro does not match the operating system. On Ubuntu 26.04 you install Lyrical Luth, on 24.04 Jazzy Jalisco, and on 22.04 Humble Hawksbill. Each one takes about ten copy-paste commands using the ros2-apt-source package. This page covers those commands for each distro, plus Windows 11, macOS, WSL2 and Jetson, a check that the install works, and fixes for the errors people run into most.
The rundown
- Choose the distro from your Ubuntu codename: resolute means Lyrical, noble means Jazzy, jammy means Humble.
- Set up the apt repository with the ros2-apt-source .deb. The old curl-the-key method is outdated.
- Kilted Kaiju is at end of life, and Humble’s support ends in May 2027.
- Lyrical’s only supported Windows is Windows 11, a Tier 1 platform that you install through Pixi.
- Every install should end with the talker/listener test.
Fact-checked
We checked these key facts against the sources named, on December 04, 2026:
- Jazzy is the distro for 24.04 machines (source: docs.ros.org)
- According to the Open Robotics Lyrical Luth release announcement, Ubuntu 24.04 is only Tier 3 for Lyrical, the same tier as macOS (source: discourse.openrobotics.org)
ROS 2 install: the 30-second answer
Run lsb_release -cs and install the distro built for that Ubuntu release. On Ubuntu 26.04 that is Lyrical Luth, the LTS that docs.ros.org recommends “for all ROS users”. On Ubuntu 24.04 it is Jazzy, and on 22.04 it is Humble. If you use Windows 11, either use Pixi with conda-forge or run Ubuntu inside WSL2. On a Mac, a Linux VM or container is the most reliable route.
On a fresh Ubuntu 26.04 machine with a UTF-8 locale, this block gives you a full Lyrical desktop install:
sudo apt install -y software-properties-common && sudo add-apt-repository -y universe
sudo apt update && sudo apt install -y curl
export ROS_APT_SOURCE_VERSION=$(curl -s https://api.github.com/repos/ros-infrastructure/ros-apt-source/releases/latest | grep -F "tag_name" | awk -F\" '{print $4}')
curl -L -o /tmp/ros2-apt-source.deb "https://github.com/ros-infrastructure/ros-apt-source/releases/download/${ROS_APT_SOURCE_VERSION}/ros2-apt-source_${ROS_APT_SOURCE_VERSION}.$(. /etc/os-release && echo ${UBUNTU_CODENAME:-${VERSION_CODENAME}})_all.deb"
sudo dpkg -i /tmp/ros2-apt-source.deb
sudo apt update && sudo apt upgrade -y && sudo apt install -y ros-lyrical-desktop ros-dev-tools
Then run source /opt/ros/lyrical/setup.bash and the talker/listener test further down. The sections below explain each line, the Jazzy and Humble versions, and what to do when something fails.
Which ROS 2 distro should you install? (December 2026)
Install the newest LTS that has binaries for your operating system. For a new project in December 2026 that means Lyrical Luth on Ubuntu 26.04. Jazzy on 24.04 is the right pick if your hardware stack or vendor drivers are already built around Noble.
| Distro | Type | Released | Primary Ubuntu | Windows | End of life | Status (Dec 2026) |
|---|---|---|---|---|---|---|
| Lyrical Luth | LTS | May 22, 2026 | 26.04 Resolute Raccoon | Windows 11 | May 2031 | Recommended |
| Kilted Kaiju | Non-LTS | May 23, 2025 | 24.04 Noble Numbat | Pixi | Nov/Dec 2026 | At or past EOL |
| Jazzy Jalisco | LTS | May 2024 | 24.04 Noble Numbat | Pixi | May 2029 | Supported |
| Humble Hawksbill | LTS | May 2022 | 22.04 Jammy Jellyfish | Binary | May 2027 | Final months |
| Iron Irwini | Non-LTS | May 2023 | 22.04 Jammy Jellyfish | n/a | Late 2024 | EOL |
| Rolling Ridley | Rolling | Continuous | Latest Ubuntu | n/a | None | Development only |
The docs disagree slightly on when Kilted ends. The two dates are only weeks apart. In either case it has no future. If you installed Kilted, plan your move to Lyrical or Jazzy now.
Match your Ubuntu version first
ROS 2 binaries are built and tested against one Ubuntu release per distro. Every package links against that release’s versions of Python, Qt, Boost and many other system libraries. If you install Jazzy debs on 22.04 or Humble debs on 24.04, apt either finds no packages or runs into dependency conflicts it cannot resolve.
Engineer's note
Run lsb_release -cs before anything else. If it prints resolute, install Lyrical. noble means Jazzy and jammy means Humble. Never force a distro onto the wrong Ubuntu, and never paste a repo line written for another codename.
LTS vs non-LTS vs Rolling
LTS releases come out in May of even years and get five years of support. Non-LTS releases such as Kilted and Iron get about 18 months, so they suit people who want new features early and are willing to upgrade again soon. Rolling Ridley is where new development lands first. Packages can change from week to week, which makes it a poor base for a robot that has to keep running.
Most readers should pick an LTS. That includes students, research labs, companies shipping products and anyone following a course.
Lyrical’s platform tiers
Lyrical is the first release documented outside REP-2000. That REP was the long-standing table of target platforms, and it now stops at Kilted. Lyrical’s platform information lives in its own release documentation.
| Tier | Platform | Architectures | What it means for you |
|---|---|---|---|
| Tier 1 | Ubuntu 26.04 Resolute | amd64, arm64 | Official binaries, fully tested. The default choice. |
| Tier 1 | Windows 11 (Visual Studio 2022) | amd64 | Official binary packages, installed through Pixi |
| Tier 2 | RHEL 10 | amd64 | Binaries exist, with fewer guarantees |
| Tier 3 | Ubuntu 24.04 Noble, macOS, Debian Trixie, OpenEmbedded | Varies | Best effort. Expect to build from source. |
Did you know?
According to the Open Robotics Lyrical Luth release announcement, Ubuntu 24.04 is only Tier 3 for Lyrical, the same tier as macOS. The newest LTS is built for Ubuntu 26.04. Jazzy is the distro for 24.04 machines.
Should you upgrade from Humble before May 2027?
Yes, unless something you depend on keeps you on Ubuntu 22.04. Humble is still the right choice in three cases:
- Jetson boards running JetPack 6, which ships Ubuntu 22.04.
- Vendor drivers or SDKs that only publish Humble packages.
- Existing codebases that you cannot migrate before a deadline.
For everyone else, May 2027 is close. Moving from Humble to Jazzy or Lyrical also means moving to a new Ubuntu release. That is a larger job than a ROS upgrade alone, so plan it as a project and not a weekend task.
Install ROS 2 Lyrical Luth on Ubuntu 26.04 (step by step)
Lyrical goes on Ubuntu 26.04 in five steps: set the locale, add the repository, choose a package, add the dev tools, then source the environment. The full sequence follows the Lyrical “Installing on Ubuntu” page on docs.ros.org.
If docs.ros.org shows a loading or checking screen, enable JavaScript and wait. The site uses a proof-of-work check against bulk scraping, and it is not a server error.
Set a UTF-8 locale
ROS 2 expects a UTF-8 locale. Minimal installs, Docker images and some cloud servers may not have one.
locale # look for UTF-8 in the output
sudo apt update && sudo apt install -y 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
You can use any UTF-8 locale. en_US.UTF-8 is simply the one the docs show.
Enable the universe repository
Several ROS dependencies come from Ubuntu’s community-maintained universe component.
sudo apt install -y software-properties-common
sudo add-apt-repository universe
Add the ROS 2 apt repository with ros2-apt-source
The ros2-apt-source package installs both the repository definition and the signing key. When a new version of the package is released, your repository configuration updates through normal apt upgrades. The commands look up the latest release tag and pick the .deb that matches your Ubuntu codename:
sudo apt update && sudo apt install -y curl
export ROS_APT_SOURCE_VERSION=$(curl -s https://api.github.com/repos/ros-infrastructure/ros-apt-source/releases/latest | grep -F "tag_name" | awk -F\" '{print $4}')
curl -L -o /tmp/ros2-apt-source.deb "https://github.com/ros-infrastructure/ros-apt-source/releases/download/${ROS_APT_SOURCE_VERSION}/ros2-apt-source_${ROS_APT_SOURCE_VERSION}.$(. /etc/os-release && echo ${UBUNTU_CODENAME:-${VERSION_CODENAME}})_all.deb"
sudo dpkg -i /tmp/ros2-apt-source.deb
The first curl calls the GitHub API, which rate-limits anonymous requests. On a busy shared network the call can return nothing, and ROS_APT_SOURCE_VERSION ends up empty. If that happens, set the variable to a known release tag yourself. The official osrf Docker images for Lyrical pin release 1.2.0, for example.
Use the .deb, not the old key method
Many older tutorials, including vendor wikis, still curl ros.key into /usr/share/keyrings and append a line to /etc/apt/sources.list with tee -a. Running that twice creates duplicate entries. The keyring also has to be fixed by hand whenever the key changes. The ros2-apt-source package avoids both problems.
Update and upgrade before installing
sudo apt update
sudo apt upgrade
ROS 2 packages are built against an up-to-date Ubuntu. The docs warn that installing them on a stale system can remove important system packages. Skipping the upgrade is the most common cause of a broken fresh install.
Pick a package: desktop vs ros-base
ros-lyrical-desktop includes RViz, the demos and the tutorials. ros-lyrical-ros-base includes communication libraries, message packages and command-line tools, with no GUI.
| Package | Includes | Best for | Command |
|---|---|---|---|
ros-<distro>-desktop |
ROS core, RViz, demos, tutorials | Development laptops and workstations | sudo apt install ros-lyrical-desktop |
ros-<distro>-ros-base |
Core libraries, messages, CLI tools, no GUI | Robots, headless boards, containers | sudo apt install ros-lyrical-ros-base |
ros-<distro>-desktop-full |
Desktop plus simulation and perception extras | Simulation-heavy work on Humble and Jazzy | sudo apt install ros-jazzy-desktop-full |
The docs recommend desktop for most users. Use ros-base on a robot’s onboard computer. It saves disk space and leaves out GUI dependencies that a headless machine will never use.
Install ros-dev-tools and initialize rosdep
ros-dev-tools installs the tools you need to build your own packages: colcon (the build tool), rosdep (which resolves system dependencies) and vcstool (which pulls in several repositories at once).
sudo apt install -y ros-dev-tools
sudo rosdep init
rosdep update
sudo rosdep init writes a system-wide sources file and only has to run once per machine. rosdep update runs as your normal user. Do not prefix it with sudo.
Source the environment automatically
ROS commands only work in a shell that has sourced the setup script.
source /opt/ros/lyrical/setup.bash
echo "source /opt/ros/lyrical/setup.bash" >> ~/.bashrc
If you use zsh, source setup.zsh from ~/.zshrc. Check that the echo line appears only once in your rc file. Two different distros sourced from the same .bashrc is a common source of confusing errors.
Install ROS 2 Jazzy on Ubuntu 24.04
The Jazzy install uses the same commands as the Lyrical one. Change the package names to ros-jazzy-* and source /opt/ros/jazzy/setup.bash. The ros2-apt-source line works without changes because it reads the codename (noble) from /etc/os-release. There is one trap specific to 24.04.
sudo apt install -y ros-jazzy-desktop ros-dev-tools
source /opt/ros/jazzy/setup.bash
echo "source /opt/ros/jazzy/setup.bash" >> ~/.bashrc
The ubuntu.sources gotcha on 24.04
On Ubuntu 24.04, apt sources live in /etc/apt/sources.list.d/ubuntu.sources (deb822 format). Some images, especially minimal and cloud builds, list only the base noble suite. In that case ros-dev-tools fails with unmet dependencies, because the Python packages it needs come from the updates pocket.
Open the file and check the Suites: line:
sudo nano /etc/apt/sources.list.d/ubuntu.sources sudo apt update && sudo apt upgrade
Engineer's note
The Jazzy docs flag this check explicitly. If ros-dev-tools : Depends: ... but it is not going to be installed shows up on 24.04, look at the Suites line before anything else.
Jazzy is also the distro to use with NVIDIA’s current stack. Isaac ROS documentation says its packages are designed and tested against ROS 2 Jazzy, and JetPack 7 is based on Ubuntu 24.04.
Install ROS 2 Humble on Ubuntu 22.04
Humble uses the same flow on Ubuntu 22.04. Install ros-humble-desktop or ros-humble-ros-base, then source /opt/ros/humble/setup.bash. The current Humble docs also use the ros2-apt-source package, so the repository step does not change.
sudo apt install -y ros-humble-desktop ros-dev-tools
source /opt/ros/humble/setup.bash
echo "source /opt/ros/humble/setup.bash" >> ~/.bashrc
The Humble docs add one specific warning. On a freshly installed 22.04 system, run sudo apt upgrade before installing ROS, or some critical system packages can be removed. Support for Humble ends in May 2027. Install it on new hardware only if a vendor SDK, a JetPack 6 board or an existing codebase requires it.
Verify your install: talker and listener
If a C++ talker and a Python listener can exchange messages, your install, middleware and environment are all working. The demo nodes come with the desktop variant.
Quick steps: verify ROS 2
- Open a terminal and source your distro’s setup.bash.
- Run the C++ talker.
- Open a second terminal and source again.
- Run the Python listener.
- Confirm that “I heard” lines appear.
Terminal 1:
source /opt/ros/lyrical/setup.bash
ros2 run demo_nodes_cpp talker
Terminal 2:
source /opt/ros/lyrical/setup.bash
ros2 run demo_nodes_py listener
The talker prints Publishing: 'Hello World: 1', 2, 3 and so on. The listener prints I heard: [Hello World: 1] for each message. Messages crossing between C++ and Python show that both client libraries work.
Two more checks:
printenv ROS_DISTRO # should print lyrical, jazzy or humble
ros2 doctor --report # summarizes platform, network and middleware
If you installed ros-base, the demo packages are not included. Install ros-<distro>-demo-nodes-cpp and ros-<distro>-demo-nodes-py, or test with ros2 topic pub and ros2 topic echo in two terminals instead.
Install ROS 2 on Windows 11

On Windows 11 you can install ROS 2 natively through Pixi, which uses conda-forge packages, or run Ubuntu inside WSL2 and use the apt steps above. For Lyrical, Windows 11 is the only supported Windows version. Windows 11 is a Tier 1 platform, so official binary packages are provided.
Did you know?
The Lyrical Windows installation page on docs.ros.org states that ROS 2 on Windows uses conda-forge as its package backend and pixi as the frontend. Windows 11 (Visual Studio 2022) is a Tier 1 platform for Lyrical, which means official binary packages are provided.
Native Windows 11 with Pixi
- Install Pixi from an elevated PowerShell:
powershell -ExecutionPolicy ByPass -c "irm -useb https://pixi.sh/install.ps1 | iex"
- Download the Windows archive that the docs page for your distro links to. The Lyrical page shows file names like
ros2-lyrical-*-windows-release-amd64.zip. Unpack it toC:\pixi_ws\ros2-windows. - In that folder, install the dependencies and run the preinstall script. The script adjusts the extracted binaries so they run from that location:
cd C:\pixi_ws\ros2-windows
pixi install
pixi run python preinstall_setup_windows.py
- In every new terminal, open the Pixi environment and source ROS:
pixi shell
call C:\pixi_ws\ros2-windows\local_setup.bat
Use cmd syntax as shown. call is a batch command. Archive names can change between builds, so match the names on the page you downloaded from.
If you plan to build your own packages with colcon, install Visual Studio 2022 with the “Desktop development with C++” workload. VS2022 is the compiler listed for Lyrical’s Tier 1 Windows support. The Windows source build follows the same pattern: it fetches pixi.toml from the ros2 repository, runs pixi install, then builds with colcon.
At startup you may see a warning that the RTI Connext middleware cannot be found. Unless you installed Connext on purpose, you can ignore it. The default middleware is Fast DDS, which has been ROS 2’s default for 11 years according to Open Robotics’ Lyrical announcement.
WSL2 with Ubuntu 24.04 or 26.04
WSL2 runs a real Ubuntu, so the apt steps in this guide work unchanged. Install the Ubuntu release that matches your distro. Ubuntu 22.04 under WSL will not take Jazzy binaries, for the same reason a native 22.04 install won’t.
| OS | Recommended method | Support tier | GUI tools (RViz/Gazebo) | Effort |
|---|---|---|---|---|
| Ubuntu 26.04 | apt (Lyrical) | Tier 1 | Native, full | Low |
| Ubuntu 24.04 | apt (Jazzy) | Tier 1 for Jazzy | Native, full | Low |
| Windows 11 | Pixi + conda-forge | Tier 1 | RViz works, simulator support varies | Medium |
| Windows 11 | WSL2 + Ubuntu | Same as the Ubuntu inside it | Through WSLg, slower 3D | Low to medium |
| macOS | VM, container or Pixi | Tier 3 | Limited | High |
| RHEL 10 | RPM packages | Tier 2 | Native | Medium |
Choose WSL2 if you follow Linux-based tutorials or courses, use apt packages from the wider ecosystem, or want to move to a real Ubuntu robot later without changes. Choose native Pixi if you need ROS nodes talking directly to Windows-only software and can accept a smaller package selection. The Windows binary does not include every ROS 2 package.
If you run Isaac Sim on Windows, keep in mind that NVIDIA forum moderators have said WSL2 mirrored networking is not officially tested for Isaac Sim to ROS 2 traffic. Native Ubuntu 24.04 with Jazzy is the best-documented combination.
Fixing WSL2 discovery: ros2 topic list shows nothing
If ros2 topic list hangs, or shows only /parameter_events and /rosout, DDS discovery traffic is usually being blocked between WSL2 and the rest of your network. Work through these in order:
- Check that every machine uses the same
ROS_DOMAIN_IDand the same RMW implementation. - Allow inbound traffic through the Hyper-V firewall. Microsoft’s WSL networking docs say it is on by default on Windows 11 22H2 and later with WSL 2.0.9 or newer. From an administrator PowerShell:
Set-NetFirewallHyperVVMSetting -Name '{40E0AC32-46A5-438A-A0B2-2B479E8F2E90}' -DefaultInboundAction Allow
- After you change
.wslconfig(for example to setnetworkingMode=mirrored), runwsl --shutdownso the new setting applies.
Community reports show that UDP multicast across the Windows/WSL2 boundary can still fail after all of this. If you need multi-machine work with a real robot, a native Ubuntu install or dual boot is the most reliable fix.
Install ROS 2 on macOS
macOS is Tier 3 for Lyrical. You will not find official binaries, and you are relying on best-effort community support. You have four options, listed here from most to least reliable:
- A Linux VM. UTM or Parallels running Ubuntu 26.04 arm64 on Apple Silicon. Lyrical arm64 is Tier 1, so the apt steps above work unchanged. RViz runs, but 3D performance depends on the VM’s graphics acceleration.
- Docker. Good for headless nodes and builds. GUI tools are awkward on macOS hosts.
- Pixi / RoboStack. RoboStack is a community project that publishes conda-forge-based ROS packages, including Lyrical. It keeps ROS in its own environment.
- Source build. Possible, but expect patching. It is the hardest path.
A common problem: rosdep fails on macOS because Homebrew already has a conflicting package, qt5 being a frequent example. Mixing Homebrew and ROS dependencies is the cause. An isolated Pixi environment or a VM avoids it completely.
Expect RViz and Gazebo to be the weakest parts of any macOS setup. If simulation is central to your work, a VM or a separate Linux machine will cost you less time.
Install ROS 2 on Jetson, Raspberry Pi and other arm64 boards

On arm64 the rule is the same: the board’s Ubuntu version decides the distro. Lyrical publishes Tier 1 arm64 binaries for Ubuntu 26.04, so a Raspberry Pi or other arm64 board running 26.04 uses the same commands as a desktop.
On NVIDIA Jetson boards, JetPack sets the Ubuntu version:
- JetPack 6 is based on Ubuntu 22.04, so the matching distro is Humble.
- JetPack 7 is based on Ubuntu 24.04 and covers Jetson AGX Thor and, from JetPack 7.2, the Orin family. The matching distro is Jazzy.
Some vendor guides write a repo line for a codename that does not match the distro, for example a focal line for Humble. Do not copy those. Use ros2-apt-source, which reads the codename from the board itself. On robots and headless boards, install ros-base rather than desktop.
Other install methods: Docker, source build, Pixi on Linux, RHEL 10
The apt method fits most people. The alternatives below make sense in specific cases.
- Docker. The official
rosimages (for exampleros:jazzy) and theosrf/rosdesktop variants give you a matching Ubuntu inside a container. This is the cleanest way to run Jazzy on a 22.04 host or Humble on a 24.04 host. It is also how many teams run CI and pin reproducible builds. - Source build. Use it when you need to change ROS core packages, or when you are on a Tier 3 platform. It uses colcon and vcstool. Expect a long first build.
- Pixi on Linux. The Lyrical docs include a Pixi-based Ubuntu development setup page, and Pixi has been proposed as a co-official Linux install method. It is worth following if you want one dependency tool across Linux, Windows and macOS.
- Snap. Canonical publishes
ros-lyrical-desktopand related snaps on the Snap Store as a separate route. They are useful for packaging applications, but they are a different workflow from the docs’ apt path. - RHEL 10. Tier 2 for Lyrical, with binary RPM packages. This fits shops standardized on Red Hat.
Reality check
Pixi installs on Linux and macOS are moving quickly, and the docs still list apt as the primary Ubuntu method. Treat Pixi on Linux as a good option still in progress, not yet the default.
Troubleshooting common ROS 2 install errors
Most install errors come from three causes: a distro and Ubuntu mismatch, a missing apt suite or repository, or a shell that hasn’t sourced the environment.
| Error | Likely cause | Fix |
|---|---|---|
E: Unable to locate package ros-jazzy-desktop |
Repository not added, apt update not run, or wrong Ubuntu (Jazzy on 22.04) |
Run lsb_release -cs and apt-cache policy ros-jazzy-desktop, then reinstall ros2-apt-source |
ros-dev-tools : Depends: ... not going to be installed |
24.04 sources missing noble-updates / noble-backports |
Fix the Suites line in ubuntu.sources, then update and upgrade |
ERROR: default sources list file already exists |
rosdep init already ran |
Skip it and run rosdep update |
ros2: command not found |
Setup script not sourced in this shell | source /opt/ros/<distro>/setup.bash, and add it to .bashrc |
NO_PUBKEY or signature errors |
Old manual keyring setup | Remove the old ros2.list and keyring, then install ros2-apt-source |
configured multiple times warnings |
Repo line added twice (tee -a re-run, or old file plus ros2-apt-source) |
Delete the duplicate entry under /etc/apt/ |
| Talker and listener don’t see each other | Different ROS_DOMAIN_ID, firewall blocking multicast, mixed distros |
Match domain IDs, open UDP, source the same distro in both terminals |
| Isaac Sim nodes not visible from Jazzy | Domain ID, RMW or network mismatch (often WSL2) | Match settings on both sides, and test on native Ubuntu first |
If the talker and listener work locally but nodes on two machines can’t see each other, the network is the problem, not the install. Check ROS_DOMAIN_ID on both machines, then ROS_AUTOMATIC_DISCOVERY_RANGE (recent distros use it to limit discovery to localhost). Also confirm that both machines run the same distro. Distros are not guaranteed to talk to each other.
Uninstall or switch ROS 2 distros cleanly
To remove a distro, remove its packages with apt’s pattern syntax, then autoremove. To remove the repository as well, uninstall ros2-apt-source.
sudo apt remove ~nros-jazzy-* && sudo apt autoremove
sudo apt remove ros2-apt-source
sudo apt update
sudo apt autoremove
sudo apt upgrade
Then delete the source /opt/ros/jazzy/setup.bash line from ~/.bashrc. Your colcon workspaces were built against that distro, so delete their build/, install/ and log/ folders before rebuilding under the new one.
If you installed the wrong distro for your Ubuntu, any half-installed packages and the repo setup are what cause trouble. Remove them with the commands above, run lsb_release -cs, and start the correct section of this guide from the locale step.
You can keep two distros in /opt/ros/ side by side, for example the LTS and Rolling Ridley on the same Ubuntu, as long as you source only one per terminal. To run a distro built for a different Ubuntu, use a container rather than forcing packages onto the host.
FAQ
Which ROS 2 version should I install in 2026?
Lyrical Luth on Ubuntu 26.04 for new projects. It is the current LTS, supported until May 2031, and docs.ros.org recommends it for all users. Choose Jazzy if you are on Ubuntu 24.04 or using NVIDIA’s JetPack 7 and Isaac ROS stack.
Can I install ROS 2 Jazzy on Ubuntu 22.04?
Not from apt binaries. Jazzy targets Ubuntu 24.04, so ros-jazzy-* packages are not published for 22.04. Upgrade to 24.04, use a Jazzy Docker container, or build from source.
Can I install ROS 2 Humble on Ubuntu 24.04?
Not from official debs. Humble binaries are built for 22.04. Run Humble in a container on 24.04, or switch to Jazzy, which has more than two years of support left.
How do I install ROS 2 Lyrical on Ubuntu 26.04?
Set a UTF-8 locale and enable universe. Install the ros2-apt-source .deb, run apt update and apt upgrade, then install ros-lyrical-desktop and ros-dev-tools. Initialize rosdep and source /opt/ros/lyrical/setup.bash. The full commands are above.
How do I install ROS 2 on Windows 11?
Install Pixi and unpack the ROS 2 Windows archive. Run pixi install and the preinstall script, then call local_setup.bat inside pixi shell. WSL2 with Ubuntu is the simpler alternative.
Can I install ROS 2 on a Mac (Apple Silicon)?
Yes, but macOS is Tier 3. The most reliable setup is Ubuntu 26.04 arm64 in UTM or Parallels, which gets Tier 1 Lyrical binaries. RoboStack’s Pixi packages work for many users. Gazebo and RViz are the weak points.
Is WSL2 or native Windows better for ROS 2?
WSL2 is better for learning, following Linux tutorials and moving code to real robots later. Native Pixi is better when ROS must talk directly to Windows-only applications. With Isaac Sim, WSL2’s mirrored networking is not officially tested by NVIDIA, so native Ubuntu is the safest choice.
What is the difference between ros-jazzy-desktop and ros-jazzy-ros-base?
Desktop adds RViz, demos and tutorials on top of the core. Ros-base contains only communication libraries, messages and CLI tools. Use desktop on a development machine and ros-base on robots and headless boards.
How do I check if ROS 2 is installed correctly?
Run ros2 run demo_nodes_cpp talker in one terminal and ros2 run demo_nodes_py listener in another. If “I heard” lines appear, it works. printenv ROS_DISTRO and ros2 doctor --report confirm the details.
How long is ROS 2 Humble supported?
Until May 2027. After that it gets no more updates or security fixes, so plan a move to Jazzy or Lyrical, along with the Ubuntu upgrade that comes with it.
Humble or Jazzy for a beginner?
Humble has the most existing tutorials and packages because it has been out the longest. Jazzy or Lyrical is the better investment, though. Most Humble tutorials still work with small changes, and you will not have to migrate a year from now.
Is ROS 2 setup too complex for new users?
On a matching Ubuntu release, a ROS 2 install is about ten commands and rarely fails. Nearly all the complexity people report comes from mismatches: the wrong Ubuntu, outdated tutorials, or Windows and macOS layers. Once the talker and listener work, you can move on to building nodes and learning to program robots.
Credits and sources
By RWT Robotics Editorial Team
- Facts were checked against the sources below before publication.
- Published
Checking and sources
- Researched from 8 sources, listed below.
- Facts are checked against those sources; anything we cannot confirm is corrected, labelled or removed.
Sources (8)
- Installing on Ubuntu – how-to (ROS 2 Lyrical documentation) (docs.ros.org)
- Installing on Windows (binary) – ROS 2 Lyrical documentation (docs.ros.org)
- ros2_documentation Windows-Install-Binary.rst (rolling) (github.com)
- ros2_documentation Ubuntu-Install-Debs.rst (rolling) (github.com)
- Ubuntu (deb packages) – ROS 2 Humble documentation (docs.ros.org)
- osrf/docker_images Lyrical resolute ros-core Dockerfile (github.com)
- Ubuntu (source) – ROS 2 Lyrical documentation (docs.ros.org)
- Ubuntu Development Setup Pixi – ROS 2 Lyrical documentation (docs.ros.org)









