C

Linux › Module 6 › Lesson 2

BeginnerModule 6Lesson 2/6

Installing Tools (apt & packages)

Install and update Linux tools with apt on Ubuntu and Kali

15 min+40 XP3 quiz
Module progress2 of 6

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

1

sudo apt update does:

Multiple choice

Knowledge Check

2

To install nmap on Ubuntu you typically run:

Multiple choice

Knowledge Check

3

True or False: apt upgrade installs security patches for existing packages.

True or False

← Previous

Answer all 3 knowledge checks to continue. (0/3 answered)