How To Install ucspi-tcp-ipv6 on Debian 9
Introduction
In this tutorial we learn how to install ucspi-tcp-ipv6
on Debian 9.
What is ucspi-tcp-ipv6
ucspi-tcp-ipv6 is:
ucspi-tcp-ipv6 is the ucspi-tcp package with IPv6 support added.
tcpserver waits for incoming connections and, for each connection, runs a program of your choice. Your program receives environment variables showing the local and remote host names, IP addresses, and port numbers.
tcpserver offers a concurrency limit to protect you from running out of processes and memory. When you are handling 40 (by default) simultaneous connections, tcpserver smoothly defers acceptance of new connections.
tcpserver also provides TCP access control features, similar to tcp-wrappers/tcpd’s hosts.allow but much faster. Its access control rules are compiled into a hashed format with cdb, so it can easily deal with thousands of different hosts.
This package includes a recordio tool that monitors all the input and output of a server.
tcpclient makes a TCP connection and runs a program of your choice. It sets up the same environment variables as tcpserver.
This package includes several sample clients built on top of tcpclient: who@, date@, finger@, http@, tcpcat, and mconnect.
tcpserver and tcpclient conform to UCSPI, the UNIX Client-Server Program Interface, using the TCP protocol. UCSPI tools are available for several different networks.
There are three methods to install ucspi-tcp-ipv6
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install ucspi-tcp-ipv6 Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install ucspi-tcp-ipv6
using apt-get
by running the following command:
sudo apt-get -y install ucspi-tcp-ipv6
Install ucspi-tcp-ipv6 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install ucspi-tcp-ipv6
using apt
by running the following command:
sudo apt -y install ucspi-tcp-ipv6
Install ucspi-tcp-ipv6 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 Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install ucspi-tcp-ipv6
using aptitude
by running the following command:
sudo aptitude -y install ucspi-tcp-ipv6
How To Uninstall ucspi-tcp-ipv6 on Debian 9
To uninstall only the ucspi-tcp-ipv6
package we can use the following command:
sudo apt-get remove ucspi-tcp-ipv6
Uninstall ucspi-tcp-ipv6 And Its Dependencies
To uninstall ucspi-tcp-ipv6
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove ucspi-tcp-ipv6
Remove ucspi-tcp-ipv6 Configurations and Data
To remove ucspi-tcp-ipv6
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge ucspi-tcp-ipv6
Remove ucspi-tcp-ipv6 configuration, data, and all of its dependencies
We can use the following command to remove ucspi-tcp-ipv6
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ucspi-tcp-ipv6
Dependencies
ucspi-tcp-ipv6 have the following dependencies:
References
Summary
In this tutorial we learn how to install ucspi-tcp-ipv6
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.