Ubuntu Linux for Robotics · Lesson 04 of 6

Packages and updates

APT repositories, package installation, upgrades and package inspection.

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 packages and updates 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

sudo apt update
apt list --upgradable
apt show cmake
sudo apt install cmake git build-essential

Practical exercise

Apply the lesson

Complete a safe packages and updates 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