How To Install golang-github-mwitkow-go-conntrack-dev on Kali Linux
Introduction
In this tutorial we learn how to install golang-github-mwitkow-go-conntrack-dev on Kali Linux.
What is golang-github-mwitkow-go-conntrack-dev
golang-github-mwitkow-go-conntrack-dev is:
Prometheus (https://prometheus.io/) monitoring and x/net/trace (https://godoc.org/golang.org/x/net/trace#EventLog) tracing wrappers for net.Conn, both inbound (net.Listener) and outbound (net.Dialer).
Go standard library does a great job of doing “the right” things with your connections: http.Transport pools outbound ones, and http.Server sets good Keep Alive defaults. However, it is still easy to get it wrong.
That’s why you should be able to monitor (using Prometheus) how many connections your Go frontend servers have inbound, and how big are the connection pools to your backends. You should also be able to inspect your connection without ssh and netstat.
There are three methods to install golang-github-mwitkow-go-conntrack-dev 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 golang-github-mwitkow-go-conntrack-dev Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install golang-github-mwitkow-go-conntrack-dev using apt-get by running the following command:
sudo apt-get -y install golang-github-mwitkow-go-conntrack-devInstall golang-github-mwitkow-go-conntrack-dev Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install golang-github-mwitkow-go-conntrack-dev using apt by running the following command:
sudo apt -y install golang-github-mwitkow-go-conntrack-devInstall golang-github-mwitkow-go-conntrack-dev Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install golang-github-mwitkow-go-conntrack-dev using aptitude by running the following command:
sudo aptitude -y install golang-github-mwitkow-go-conntrack-devHow To Uninstall golang-github-mwitkow-go-conntrack-dev on Kali Linux
To uninstall only the golang-github-mwitkow-go-conntrack-dev package we can use the following command:
sudo apt-get remove golang-github-mwitkow-go-conntrack-devUninstall golang-github-mwitkow-go-conntrack-dev And Its Dependencies
To uninstall golang-github-mwitkow-go-conntrack-dev and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove golang-github-mwitkow-go-conntrack-devRemove golang-github-mwitkow-go-conntrack-dev Configurations and Data
To remove golang-github-mwitkow-go-conntrack-dev configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge golang-github-mwitkow-go-conntrack-devRemove golang-github-mwitkow-go-conntrack-dev configuration, data, and all of its dependencies
We can use the following command to remove golang-github-mwitkow-go-conntrack-dev configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge golang-github-mwitkow-go-conntrack-devDependencies
golang-github-mwitkow-go-conntrack-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install golang-github-mwitkow-go-conntrack-dev package on Kali Linux using different package management tools: apt, apt-get and aptitude.