Training · Linux fundamentals

The analogy. A city with one rule: everything is an address. Files, disks and even running processes have a path, which is why the same three tools can inspect all of them.

The shell is the classroom: the lecture behind this lab covers the mental model, the commands you are about to use, and the four things that usually go wrong.

Read the lecture before you start
all labs

Package Management: Installing Software with apt

Beginner20 min0/4 activities

Update the package index, install and remove software with the Debian package manager, and inspect the package database. Graded against the dpkg database, not the terminal.

Activities

  1. 01Update the package index

    Refresh apt's index so packages can be installed.

  2. 02Install the nginx package

    nginx must be recorded as installed in the dpkg database.

  3. 03Install both htop and jq

    Two more utilities must be present in the package database.

  4. 04Remove the pre-installed vim package

    vim started out installed; remove it so it is gone from the database.

student@ophir-lab — linux-pkg-01
bash 5.2 · x86_64 (wasm)isolated · no network egress