How to Install and Uninstall nmap Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: May 08,2024

1. Install "nmap" package

Here is a brief guide to show you how to install nmap on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install nmap

2. Uninstall "nmap" package

Please follow the guidelines below to uninstall nmap on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove nmap $ sudo apt autoclean && sudo apt autoremove

3. Information about the nmap package on Ubuntu 20.04 LTS (Focal Fossa)

Package: nmap
Architecture: amd64
Version: 7.80+dfsg1-2build1
Priority: extra
Section: universe/net
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Security Tools
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 4394
Depends: nmap-common (= 7.80+dfsg1-2build1), libc6 (>= 2.29), libgcc-s1 (>= 3.0), liblinear4 (>= 2.01+dfsg), liblua5.3-0, libpcap0.8 (>= 1.5.1), libpcre3, libssl1.1 (>= 1.1.0), libstdc++6 (>= 5.2), lua-lpeg (>= 1.0.2), zlib1g (>= 1:1.1.4)
Suggests: ncat, ndiff, zenmap
Filename: pool/universe/n/nmap/nmap_7.80+dfsg1-2build1_amd64.deb
Size: 1662268
MD5sum: 2a6ad546333b126b590609fd989ddb01
SHA1: 4aacd66f5365d7e842dac9c77f5a39a909fe849e
SHA256: 007d1d31ab221636fbd81393de53c5b5826057756b3153f549d3dbf359233835
Homepage: https://nmap.org/
Description: The Network Mapper
Description-md5: bc417f4c1fdba7d8d9b0ca8a2a90b7a8