How To Install golang-github-mwitkow-go-conntrack-dev on Debian 10
Introduction
In this tutorial we learn how to install golang-github-mwitkow-go-conntrack-dev
on Debian 10.
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 Debian 10. 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 update
After 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-dev
Install golang-github-mwitkow-go-conntrack-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After 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-dev
Install golang-github-mwitkow-go-conntrack-dev 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 golang-github-mwitkow-go-conntrack-dev
using aptitude
by running the following command:
sudo aptitude -y install golang-github-mwitkow-go-conntrack-dev
How To Uninstall golang-github-mwitkow-go-conntrack-dev on Debian 10
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-dev
Uninstall 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 Debian 10, we can use the command below:
sudo apt-get -y autoremove golang-github-mwitkow-go-conntrack-dev
Remove golang-github-mwitkow-go-conntrack-dev Configurations and Data
To remove golang-github-mwitkow-go-conntrack-dev
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge golang-github-mwitkow-go-conntrack-dev
Remove 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-dev
Dependencies
golang-github-mwitkow-go-conntrack-dev have the following dependencies:
References
- golang-github-mwitkow-go-conntrack-dev website
- golang-github-mwitkow-go-conntrack-dev on packages.debian.org
Summary
In this tutorial we learn how to install golang-github-mwitkow-go-conntrack-dev
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.