- How To Install netcat-openbsd on Kali Linux
- What is netcat-openbsd
- Install netcat-openbsd Using apt-get
- Install netcat-openbsd Using apt
- Install netcat-openbsd Using aptitude
- How To Uninstall netcat-openbsd on Kali Linux
- Uninstall netcat-openbsd And Its Dependencies
- Remove netcat-openbsd Configurations and Data
- Remove netcat-openbsd configuration, data, and all of its dependencies
- References
- Summary
- netcat-traditional on Kali Linux
- 2. Uninstall / Remove netcat-traditional package
- 3. Details of netcat-traditional package
- 4. References on Kali Linux
- 5. The same packages on other Linux Distributions
How To Install netcat-openbsd on Kali Linux
In this tutorial we learn how to install netcat-openbsd on Kali Linux.
What is netcat-openbsd
A simple Unix utility which reads and writes data across network connections using TCP or UDP protocol. It is designed to be a reliable “back-end” tool that can be used directly or easily driven by other programs and scripts. At the same time it is a feature-rich network debugging and exploration tool, since it can create almost any kind of connection you would need and has several interesting built-in capabilities.
This package contains the OpenBSD rewrite of netcat, including support for IPv6, proxies, and Unix sockets.
There are three ways to install netcat-openbsd on Kali Linux . We can use apt-get , apt and aptitude . In the following sections we will describe each method. You can choose one of them.
Install netcat-openbsd Using apt-get
Update apt database with apt-get using the following command.
After updating apt database, We can install netcat-openbsd using apt-get by running the following command:
sudo apt-get -y install netcat-openbsd
Install netcat-openbsd Using apt
Update apt database with apt using the following command.
After updating apt database, We can install netcat-openbsd using apt by running the following command:
sudo apt -y install netcat-openbsd
Install netcat-openbsd Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
After updating apt database, We can install netcat-openbsd using aptitude by running the following command:
sudo aptitude -y install netcat-openbsd
How To Uninstall netcat-openbsd on Kali Linux
To uninstall only the netcat-openbsd package we can use the following command:
sudo apt-get remove netcat-openbsd
Uninstall netcat-openbsd And Its Dependencies
To uninstall netcat-openbsd and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove netcat-openbsd
Remove netcat-openbsd Configurations and Data
To remove netcat-openbsd configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge netcat-openbsd
Remove netcat-openbsd configuration, data, and all of its dependencies
We can use the following command to remove netcat-openbsd configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge netcat-openbsd
References
Summary
In this tutorial we learn how to install netcat-openbsd using different package management tools like apt, apt-get and aptitude.
netcat-traditional on Kali Linux
In this section, we are going to explain the necessary steps to install netcat-traditional package:
2. Uninstall / Remove netcat-traditional package
Please follow the instructions below to uninstall netcat-traditional package:
3. Details of netcat-traditional package
Package: netcat-traditional
Source: netcat
Version: 1.10-47
Installed-Size: 143
Maintainer: Anibal Monsalve Salazar
Architecture: amd64
Provides: netcat
Depends: libc6 (>= 2.15)
Size: 67876
SHA256: 3c6e28a0b42c3a31268979797f48bab9d38158c9ffdb924b3f2776406e64f8c2
SHA1: 0a597fb7d2b06910cf960c98dbbd990dce3906d0
MD5sum: 98559bdec283c5c12657cd1c384c259c
Description: TCP/IP swiss army knife
A simple Unix utility which reads and writes data across network
connections using TCP or UDP protocol. It is designed to be a reliable
«back-end» tool that can be used directly or easily driven by other
programs and scripts. At the same time it is a feature-rich network
debugging and exploration tool, since it can create almost any kind
of connection you would need and has several interesting built-in
capabilities.
.
This is the «classic» netcat, written by *Hobbit*. It lacks many
features found in netcat-openbsd.
Description-md5: 83fb6fcb16e6638fb447527fffff1e0a
Homepage: http://www.stearns.org/nc/
Tag: implemented-in::c, interface::commandline, protocol::tcp, protocol::udp,
role::program, scope::utility, use::transmission
Section: net
Priority: standard
Filename: pool/main/n/netcat/netcat-traditional_1.10-47_amd64.deb
4. References on Kali Linux
5. The same packages on other Linux Distributions
netcat-traditional (1.10-41.1) Ubuntu 18.04 LTS (Bionic Beaver)
netcat-traditional (1.10-41) Ubuntu 16.04 LTS (Xenial Xerus)
netcat-traditional (1.10-47) Ubuntu 21.10 (Impish Indri)
netcat-traditional (1.10-47) Ubuntu 22.04 LTS (Jammy Jellyfish)
netcat-traditional (1.10-41.1) Debian 10 (Buster)