6. Installing and Managing Software¶
Every OS has its own standard way to install software — mixing them up is a common source of confusion.
| OS | Typical install method |
|---|---|
| Windows | Download an .exe/.msi installer, or winget install <name> from PowerShell |
| Linux | A package manager: apt install <name> (Ubuntu/Debian), dnf install <name> (Fedora) |
| macOS | The App Store, a .dmg you drag to Applications, or brew install <name> (Homebrew) |
Why package managers matter¶
A package manager doesn't just install software — it tracks what's installed, handles dependencies automatically, and can update everything with one command. This is exactly why an attempt to install something without one can fail in a very specific way: trying to run apt-get install sshpass without administrator/root privileges fails outright (sudo: interactive authentication is required) — the package manager is doing its job correctly by refusing, not malfunctioning.
Try it
Explain, step by step, what apt install sshpass actually does behind the scenes on a system like CT 250 — where does it look, what does it check, what does it update when it's done.
Tip
Mixing manual installs with a package manager (e.g. compiling something by hand instead of installing it through apt) can make that one piece of software invisible to the package manager's own tracking — worth avoiding unless there's a specific reason you need to.
Play it
Open the Operating Systems Lab and use the Software tab.