How To Install tidy-proxy on Ubuntu 18.04

In this tutorial we learn how to install tidy-proxy on Ubuntu 18.04. tidy-proxy is small http proxy which tidies html

Introduction

In this tutorial we learn how to install tidy-proxy on Ubuntu 18.04.

What is tidy-proxy

tidy-proxy is:

Tidy-proxy is a small http proxy server written in perl. Using this proxy web-pages are checked for HTML errors with Tidy or Validate while they are downloaded. The results are displayed on top of that page. Tidy-Proxy is mainly intended for developing dynamic web-pages.

There are three methods to install tidy-proxy 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 tidy-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 tidy-proxy using apt-get by running the following command:

sudo apt-get -y install tidy-proxy

Install tidy-proxy Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install tidy-proxy

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

sudo aptitude update

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

sudo aptitude -y install tidy-proxy

How To Uninstall tidy-proxy on Ubuntu 18.04

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

sudo apt-get remove tidy-proxy

Uninstall tidy-proxy And Its Dependencies

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

sudo apt-get -y autoremove tidy-proxy

Remove tidy-proxy Configurations and Data

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

sudo apt-get -y purge tidy-proxy

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

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

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

References

Summary

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