Linux › Module 6 › Lesson 2
Installing Tools (apt & packages)
Install and update Linux tools with apt on Ubuntu and Kali
Opening
Your toolbox grows with one command
Kali ships with many tools, but Ubuntu does not. Package managers install software from trusted repos. On Debian/Ubuntu/Kali the command is apt.
1. Update Package Lists
sudo apt update Refreshes the list of available packages. Run this before installing.
2. Install & Remove
sudo apt install nmap sudo apt install curl git htop — multiple packages sudo apt remove oldpackage sudo apt upgrade — upgrade installed packages
3. Search Packages
apt search wireshark apt show nmap — details about a package
Security hygiene
sudo apt update && sudo apt upgrade keeps patches current—closing known CVEs. Patching is boring; breaches are worse.
Knowledge Check
sudo apt update does:
Multiple choice
Knowledge Check
To install nmap on Ubuntu you typically run:
Multiple choice
Knowledge Check
True or False: apt upgrade installs security patches for existing packages.
True or False