How To Install golang-github-tsenart-tb-dev on Debian 10
Introduction
In this tutorial we learn how to install golang-github-tsenart-tb-dev on Debian 10.
What is golang-github-tsenart-tb-dev
golang-github-tsenart-tb-dev is:
The token bucket is an algorithm used in packet switched computer networks and telecommunications networks. It can be used to check that data transmissions, in the form of packets, conform to defined limits on bandwidth and burstiness (a measure of the unevenness or variations in the traffic flow).
This implementation of the token bucket generalises its applications beyond packet rate conformance. Hence, the word generic. You can use it to throttle any flow over time as long as it can be expressed as a number (bytes/s, requests/s, messages/s, packets/s, potatoes/s, heartbeats/s, etc…).
The lock-free part of the description refers to the lock-free programming techniques (CAS loop) used in the core Bucket methods (Take and Put).
There are three methods to install golang-github-tsenart-tb-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-tsenart-tb-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-tsenart-tb-dev using apt-get by running the following command:
sudo apt-get -y install golang-github-tsenart-tb-dev
Install golang-github-tsenart-tb-dev Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install golang-github-tsenart-tb-dev using apt by running the following command:
sudo apt -y install golang-github-tsenart-tb-dev
Install golang-github-tsenart-tb-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-tsenart-tb-dev using aptitude by running the following command:
sudo aptitude -y install golang-github-tsenart-tb-dev
How To Uninstall golang-github-tsenart-tb-dev on Debian 10
To uninstall only the golang-github-tsenart-tb-dev package we can use the following command:
sudo apt-get remove golang-github-tsenart-tb-dev
Uninstall golang-github-tsenart-tb-dev And Its Dependencies
To uninstall golang-github-tsenart-tb-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-tsenart-tb-dev
Remove golang-github-tsenart-tb-dev Configurations and Data
To remove golang-github-tsenart-tb-dev configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge golang-github-tsenart-tb-dev
Remove golang-github-tsenart-tb-dev configuration, data, and all of its dependencies
We can use the following command to remove golang-github-tsenart-tb-dev configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge golang-github-tsenart-tb-dev
Dependencies
golang-github-tsenart-tb-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install golang-github-tsenart-tb-dev package on Debian 10 using different package management tools: apt, apt-get and aptitude.