$
Learn Linux handbook
en
XP:0
Quest 42Guru
+280 XP

Package Management (apt)

Launch Interactive Terminal for This Quest→No installation required • Runs fully in browser

Concept & Overview

Think of installing apps on your smartphone using the App Store or Google Play Store. It is safe, curated, and automated. In Linux, we use a command-line app store called a package manager to fetch and install software securely.

- On Ubuntu/Debian systems, the standard package manager is apt (Advanced Packaging Tool).
- Installing software changes system-wide folders, so you always need to authorize it using sudo. E.g., sudo apt install tree downloads and installs the directory visualizer "tree".

Let's install some software. Run sudo apt install tree to install the tree program. Once it finishes, run tree to visualize your home folder in a neat tree-like format.

Command Syntax Reference

Command / SyntaxDescription
sudo apt install treeInstall the tree package
treeRun tree to visualize directories

Verification Objectives

These conditions will be automatically verified when you run commands inside the interactive terminal simulator:

  • ○
    Install package "tree" using apt install
  • ○
    Run the "tree" command to visualize directories

Ready to complete Quest 42?

Test your skills live in the browser terminal with an emulated Linux filesystem, real-time command evaluation, and instant step-by-step hints.