How To Install httpry-daemon on Debian 9

In this tutorial we learn how to install httpry-daemon on Debian 9. httpry-daemon is HTTP logging and information retrieval tool - daemon

Introduction

In this tutorial we learn how to install httpry-daemon on Debian 9.

What is httpry-daemon

httpry-daemon is:

httpry is a tool designed for displaying and logging HTTP traffic. It is not intended to perform analysis itself, but instead to capture, parse and/or log the traffic for later analysis. It can be run in real-time displaying the live traffic on the wire, or as a daemon process that logs to an output file. It is written to be as lightweight and flexible as possible, so that it can be easily adaptable to different applications. It does not display the raw HTTP data transferred, but instead focuses on parsing and displaying the request/response line along with associated header fields.

This package contains required init script to run httpry as a daemon.

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

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

sudo apt-get update

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

sudo apt-get -y install httpry-daemon

Install httpry-daemon Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install httpry-daemon

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

sudo aptitude -y install httpry-daemon

How To Uninstall httpry-daemon on Debian 9

To uninstall only the httpry-daemon package we can use the following command:

sudo apt-get remove httpry-daemon

Uninstall httpry-daemon And Its Dependencies

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

sudo apt-get -y autoremove httpry-daemon

Remove httpry-daemon Configurations and Data

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

sudo apt-get -y purge httpry-daemon

Remove httpry-daemon configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge httpry-daemon

Dependencies

httpry-daemon have the following dependencies:

References

Summary

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