AcademyTerminal Tactics: Survival in the ShellPhase 5: Resource Acquisition (Software)

Lesson 6: The App Store of Linux (Package Management)

In DevOps, you'll constantly need to install new software—web servers, databases, or monitoring tools. In Ubuntu/Debian, we use a tool called apt.

Why not just download an .exe?

Linux uses Repositories. Think of it like a secure, verified App Store for servers. You don't "find" software on random websites; you ask the system to fetch it for you.

Key Commands

  • apt update: Refreshes the list of available software.
  • apt install: Downloads and installs a tool.
  • apt remove: Uninstalls a tool.
booting...

Mission Objective

Your team wants a fun way to display server status. Install the cowsay utility.

  1. First, run apt-get update to refresh your list.
  2. Then, install the tool: apt-get install -y cowsay.
  3. Once done, try running it: /usr/games/cowsay "I am a DevOps pro!"

Mission Control

Update the package list

Expected Command

apt-get update

Install the cowsay utility