How To Install golang-github-google-martian-dev on Debian 10
Introduction
In this tutorial we learn how to install golang-github-google-martian-dev on Debian 10.
What is golang-github-google-martian-dev
golang-github-google-martian-dev is:
Martian Proxy is a programmable HTTP proxy designed to be used for testing.
Martian is a great tool to use if you want to:
- Verify that all (or some subset) of requests are secure
- Mock external services at the network layer
- Inject headers, modify cookies or perform other mutations of HTTP requests and responses
- Verify that pingbacks happen when you think they should
- Unwrap encrypted traffic (requires install of CA certificate in browser)
There are three methods to install golang-github-google-martian-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-google-martian-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-google-martian-dev using apt-get by running the following command:
sudo apt-get -y install golang-github-google-martian-dev
Install golang-github-google-martian-dev Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install golang-github-google-martian-dev using apt by running the following command:
sudo apt -y install golang-github-google-martian-dev
Install golang-github-google-martian-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-google-martian-dev using aptitude by running the following command:
sudo aptitude -y install golang-github-google-martian-dev
How To Uninstall golang-github-google-martian-dev on Debian 10
To uninstall only the golang-github-google-martian-dev package we can use the following command:
sudo apt-get remove golang-github-google-martian-dev
Uninstall golang-github-google-martian-dev And Its Dependencies
To uninstall golang-github-google-martian-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-google-martian-dev
Remove golang-github-google-martian-dev Configurations and Data
To remove golang-github-google-martian-dev configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge golang-github-google-martian-dev
Remove golang-github-google-martian-dev configuration, data, and all of its dependencies
We can use the following command to remove golang-github-google-martian-dev configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge golang-github-google-martian-dev
Dependencies
golang-github-google-martian-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install golang-github-google-martian-dev package on Debian 10 using different package management tools: apt, apt-get and aptitude.