How To Install golang-github-hashicorp-yamux-dev on Debian 9
Introduction
In this tutorial we learn how to install golang-github-hashicorp-yamux-dev on Debian 9.
What is golang-github-hashicorp-yamux-dev
golang-github-hashicorp-yamux-dev is:
Yamux (Yet another Multiplexer) is a multiplexing library for Golang. It relies on an underlying connection to provide reliability and ordering, such as TCP or Unix domain sockets, and provides stream-oriented multiplexing. It is inspired by SPDY but is not interoperable with it.
Yamux features include:
- Bi-directional streams
- Streams can be opened by either client or server
- Useful for NAT traversal
- Server-side push support
- Flow control
- Avoid starvation
- Back-pressure to prevent overwhelming a receiver
- Keep Alives
- Enables persistent connections over a load balancer
- Efficient
- Enables thousands of logical streams with low overhead
This package contains the source.
There are three methods to install golang-github-hashicorp-yamux-dev 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 golang-github-hashicorp-yamux-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-hashicorp-yamux-dev using apt-get by running the following command:
sudo apt-get -y install golang-github-hashicorp-yamux-dev
Install golang-github-hashicorp-yamux-dev Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install golang-github-hashicorp-yamux-dev using apt by running the following command:
sudo apt -y install golang-github-hashicorp-yamux-dev
Install golang-github-hashicorp-yamux-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-hashicorp-yamux-dev using aptitude by running the following command:
sudo aptitude -y install golang-github-hashicorp-yamux-dev
How To Uninstall golang-github-hashicorp-yamux-dev on Debian 9
To uninstall only the golang-github-hashicorp-yamux-dev package we can use the following command:
sudo apt-get remove golang-github-hashicorp-yamux-dev
Uninstall golang-github-hashicorp-yamux-dev And Its Dependencies
To uninstall golang-github-hashicorp-yamux-dev and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove golang-github-hashicorp-yamux-dev
Remove golang-github-hashicorp-yamux-dev Configurations and Data
To remove golang-github-hashicorp-yamux-dev configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge golang-github-hashicorp-yamux-dev
Remove golang-github-hashicorp-yamux-dev configuration, data, and all of its dependencies
We can use the following command to remove golang-github-hashicorp-yamux-dev configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge golang-github-hashicorp-yamux-dev
Dependencies
golang-github-hashicorp-yamux-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install golang-github-hashicorp-yamux-dev package on Debian 9 using different package management tools: apt, apt-get and aptitude.