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

Last updated: November 22,2024

1. Install "netcat" package

Please follow the guidance below to install netcat on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install netcat

2. Uninstall "netcat" package

In this section, we are going to explain the necessary steps to uninstall netcat on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove netcat $ sudo apt autoclean && sudo apt autoremove

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

Package: netcat
Architecture: all
Version: 1.206-1ubuntu1
Priority: optional
Section: universe/net
Source: netcat-openbsd
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Aron Xu
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 15
Depends: netcat-openbsd
Filename: pool/universe/n/netcat-openbsd/netcat_1.206-1ubuntu1_all.deb
Size: 2172
MD5sum: abb9a07fa88867b22fb9bab4570eb430
SHA1: e13fb15036ecff64773857bf31d8b2eafd4390e5
SHA256: f43ecd8753da0ddd048ea49c45c81a7bd7dbbe80b144ea9764cdae34a8472362
Description: TCP/IP swiss army knife -- transitional package
Description-md5: 467d7ff47ec4ab5d34a582d295e6a32e