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.
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.
- OSprove Ubuntu 24.04 / Noblecheck
- ARCHidentify amd64 or arm64check
- APTconfirm package index healthmatch
- JAZZY TARGETcourse path matches Noble deb packagesproceed
- 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:
| Check | Command | Observed evidence |
|---|---|---|
| OS | cat /etc/os-release | |
| Codename | same output | |
| Architecture | uname -m | |
| Apt health | sudo 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:
- What evidence proves this machine matches the course target?
- What would make you stop before installing ROS 2?