Unit 02 · lesson

Prove the Ubuntu Baseline

Before installing ROS 2, prove what machine you are actually standing on.

A lot of setup failures begin with a bad assumption:

"I think this is Ubuntu 24.04."

Thinking is not evidence.

Concept flow

ROS 2 setup starts by proving the host environment

Installation commands are meaningful only after OS, architecture, package-manager health, and target distribution assumptions are verified.

  1. OSprove Ubuntu 24.04 / Noble
    check
  2. ARCHidentify amd64 or arm64
    check
  3. APTconfirm package index health
    match
  4. JAZZY TARGETcourse path matches Noble deb packages
    proceed
  5. INSTALLonly then install or repair ROS 2

Inspect the operating system

Run:

cat /etc/os-release

Look for evidence that identifies Ubuntu 24.04 and the Noble codename. You can also run:

lsb_release -a

if lsb_release is installed.

Record the output that matters. Do not copy every line just because the terminal printed it.

Check the machine architecture

Run:

uname -m

Typical outputs include x86_64 on AMD64 systems or aarch64 on ARM64 systems.

The Jazzy documentation publishes package status for both amd64 and arm64 on Ubuntu Noble. That does not mean every third-party ROS package supports both architectures equally. For this Unit, you only need to know which architecture you have.

Update your package index

Run:

sudo apt update

Read the output. If apt itself is failing, stop there. ROS installation is not the first problem.

Evidence table

Create:

CheckCommandObserved evidence
OScat /etc/os-release
Codenamesame output
Architectureuname -m
Apt healthsudo apt update

Why this matters

The pinned Jazzy installation documentation targets Ubuntu Noble 24.04 for deb packages. This course follows that path intentionally.

If you are on another Ubuntu release, do not substitute commands from memory and pretend the environment is equivalent. Stop and use the environment assigned for the course.

Checkpoint

Explain in two or three sentences:

  1. What evidence proves this machine matches the course target?
  2. What would make you stop before installing ROS 2?