How To Install logapp on debian 9

In this tutorial we learn how to install logapp on debian 9. logapp is supervise execution of applications producing heavy output

Introduction

In this tutorial we learn how to install logapp on debian 9.

What is logapp

Logapp is a wrapper utility that helps supervise the execution of applications that produce heavy console output (e.g. make, CVS and Subversion). It does this by logging, trimming, and coloring each line of the output before displaying it. It can be called instead of the executable that should be monitored; it then starts the application and logs all of its console output to a file. The output shown in the terminal is preprocessed, e.g. to limit the length of printed lines and to show the stderr output in a different color. It is also possible to automatically highlight lines that match a certain regular expression. The output is therefore reduced to the necessary amount, and all important lines are easy to identify.

There are three ways to install logapp 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 logapp Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install logapp

Install logapp Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install logapp using apt by running the following command:

sudo apt -y install logapp

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

sudo aptitude -y install logapp

How To Uninstall logapp on debian 9

To uninstall only the logapp package we can use the following command:

sudo apt-get remove logapp

Uninstall logapp And Its Dependencies

To uninstall logapp and its dependencies that are no longer needed by debian 9, we can use the command below:

sudo apt-get -y autoremove logapp

Remove logapp Configurations and Data

To remove logapp configuration and data from debian 9 we can use the following command:

sudo apt-get -y purge logapp

Remove logapp configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge logapp

References

Summary

In this tutorial we learn how to install logapp on debian 9 using different package management tools like apt, apt-get and aptitude.