Ubuntu Linux for Robotics · Lesson 06 of 6

Developer workstation

Git, compilers, CMake, environment variables and a clean ROS 2-ready setup.

Estimated time · 45–75 min

Guided lesson

Work through these steps

  1. 1.

    Open a terminal and record the current state before changing anything.

  2. 2.

    Follow the guided developer workstation commands one at a time.

  3. 3.

    Read each command's output and compare it with the expected state.

  4. 4.

    Write the successful commands in a setup note you can repeat later.

Example

Try it yourself

git --version
g++ --version
cmake --version
mkdir -p ~/robot_ws/src
printenv | sort | less

Practical exercise

Apply the lesson

Complete a safe developer workstation check on your workstation and save the commands plus outputs in a text file.

Before you continue

  • You recorded the starting state
  • Every command and output is understood
  • The change can be repeated from your notes