How To Install golang-github-abbot-go-http-auth-dev on Debian 9
Introduction
In this tutorial we learn how to install golang-github-abbot-go-http-auth-dev
on Debian 9.
What is golang-github-abbot-go-http-auth-dev
golang-github-abbot-go-http-auth-dev is:
HTTP Basic and HTTP Digest authentication in Go language. This library designed as a simple wrapper for http.RequestHandler functions. Features:
- HTTP Basic and HTTP Digest authentication.
- htpasswd and htdigest formatted files.
- Automatic reloading of password files.
- Pluggable interface for user/password storage.
- MD5 and SHA1 for Basic authentication password storage.
- Configurable Digest nonce cache size with expiration.
- Wrapper for legacy http handlers (http.HandlerFunc interface)
There are three methods to install golang-github-abbot-go-http-auth-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-abbot-go-http-auth-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-abbot-go-http-auth-dev
using apt-get
by running the following command:
sudo apt-get -y install golang-github-abbot-go-http-auth-dev
Install golang-github-abbot-go-http-auth-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install golang-github-abbot-go-http-auth-dev
using apt
by running the following command:
sudo apt -y install golang-github-abbot-go-http-auth-dev
Install golang-github-abbot-go-http-auth-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-abbot-go-http-auth-dev
using aptitude
by running the following command:
sudo aptitude -y install golang-github-abbot-go-http-auth-dev
How To Uninstall golang-github-abbot-go-http-auth-dev on Debian 9
To uninstall only the golang-github-abbot-go-http-auth-dev
package we can use the following command:
sudo apt-get remove golang-github-abbot-go-http-auth-dev
Uninstall golang-github-abbot-go-http-auth-dev And Its Dependencies
To uninstall golang-github-abbot-go-http-auth-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-abbot-go-http-auth-dev
Remove golang-github-abbot-go-http-auth-dev Configurations and Data
To remove golang-github-abbot-go-http-auth-dev
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge golang-github-abbot-go-http-auth-dev
Remove golang-github-abbot-go-http-auth-dev configuration, data, and all of its dependencies
We can use the following command to remove golang-github-abbot-go-http-auth-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge golang-github-abbot-go-http-auth-dev
Dependencies
golang-github-abbot-go-http-auth-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install golang-github-abbot-go-http-auth-dev
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.