How To Install tinyproxy-bin on Ubuntu 18.04

In this tutorial we learn how to install tinyproxy-bin on Ubuntu 18.04. tinyproxy-bin is Lightweight, non-caching, optionally anonymizing HTTP proxy (executable only)

Introduction

In this tutorial we learn how to install tinyproxy-bin on Ubuntu 18.04.

What is tinyproxy-bin

tinyproxy-bin is:

An anonymizing HTTP proxy which is very light on system resources, ideal for smaller networks and similar situations where other proxies (such as Squid) may be overkill and/or a security risk. Tinyproxy can also be configured to anonymize HTTP requests (allowing for exceptions on a per-header basis).

This package contains the minimal set of files required for running the tinyproxy executable.

There are three methods to install tinyproxy-bin on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install tinyproxy-bin Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install tinyproxy-bin

Install tinyproxy-bin Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install tinyproxy-bin

Install tinyproxy-bin 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install tinyproxy-bin using aptitude by running the following command:

sudo aptitude -y install tinyproxy-bin

How To Uninstall tinyproxy-bin on Ubuntu 18.04

To uninstall only the tinyproxy-bin package we can use the following command:

sudo apt-get remove tinyproxy-bin

Uninstall tinyproxy-bin And Its Dependencies

To uninstall tinyproxy-bin and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove tinyproxy-bin

Remove tinyproxy-bin Configurations and Data

To remove tinyproxy-bin configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge tinyproxy-bin

Remove tinyproxy-bin configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge tinyproxy-bin

References

Summary

In this tutorial we learn how to install tinyproxy-bin package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.