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.
- First, run
apt-get updateto refresh your list. - Then, install the tool:
apt-get install -y cowsay. - Once done, try running it:
/usr/games/cowsay "I am a DevOps pro!"