Lion Cipher Lab
Installing software and keeping Linux patched with apt
- Foundations
- Beginner
- ~35 min
- Free · no account required
Why it matters
Two of the most common things you'll ever do on a Linux box are install software and keep it patched. On Debian and Ubuntu, one tool — apt — does both. Patching especially is not just tidiness: unpatched, out-of-date software is one of the most common ways real organizations get broken into, because attackers actively hunt for known flaws that a vendor has already fixed. Learning to update, upgrade, install, and remove packages cleanly is day-one literacy and a real security habit at the same time.
What you'll learn
- apt package management
- updating and patching Linux
- installing and removing software
- understanding repositories
- automatic security updates
Steps in this lab
- What a package manager is, and why apt
- Refresh the catalog first: apt update
- Apply the fixes: apt upgrade (this is the security step)
- Find software: apt search and apt show
- Install a package: apt install
- Remove cleanly: apt remove, autoremove, and purge
- Where software comes from: repositories, and trusting only good ones
- Let it patch itself: unattended-upgrades
- You can keep a Linux box current now — why that's a real skill