How To Install micro-proxy on Debian 9

In this tutorial we learn how to install micro-proxy on Debian 9. micro-proxy is really small HTTP/HTTPS proxy

Introduction

In this tutorial we learn how to install micro-proxy on Debian 9.

What is micro-proxy

micro-proxy is:

micro_proxy is a very small Unix-based HTTP/HTTPS proxy. It runs from inetd, which means its performance is poor. But for low-traffic sites, it’s quite adequate. It implements all the basic features of an HTTP/HTTPS proxy, including IPv6 forwarding, in only 320 lines of code.

Homepage: http://www.acme.com/software/micro_proxy/

There are three methods to install micro-proxy 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 micro-proxy Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install micro-proxy using apt-get by running the following command:

sudo apt-get -y install micro-proxy

Install micro-proxy Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install micro-proxy using apt by running the following command:

sudo apt -y install micro-proxy

Install micro-proxy 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 micro-proxy using aptitude by running the following command:

sudo aptitude -y install micro-proxy

How To Uninstall micro-proxy on Debian 9

To uninstall only the micro-proxy package we can use the following command:

sudo apt-get remove micro-proxy

Uninstall micro-proxy And Its Dependencies

To uninstall micro-proxy and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove micro-proxy

Remove micro-proxy Configurations and Data

To remove micro-proxy configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge micro-proxy

Remove micro-proxy configuration, data, and all of its dependencies

We can use the following command to remove micro-proxy configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge micro-proxy

Dependencies

micro-proxy have the following dependencies:

References

Summary

In this tutorial we learn how to install micro-proxy package on Debian 9 using different package management tools: apt, apt-get and aptitude.