Installing and configuring software
Ubuntu, like most other Linux distributions, has a vast array of high-quality software available in its package repositories. In Ubuntu, we can easily install this software using the APT command-line utility.
APT (which stands for Advanced Package Tool) is the most popular and well-supported way of installing software in Ubuntu. For example, we can use it to find and install nmap
, an open source network mapping and security tool:
- Find the package name by updating our list of packages, and then searching them:
sudo apt update apt search "network mapper"
This returns a package name of
nmap
. - Install the package with the following command:
sudo apt install nmap
- We can keep all system software and applications up to date by running the following two commands periodically:
sudo apt update sudo apt upgrade
- After nmap is installed, we can map our local network with a command like the following:
sudo nmap -sS 192.168.1.*
This prints...