How To Install prolix on Ubuntu 22.04

In this tutorial we learn how to install prolix on Ubuntu 22.04. prolix is tool to interactively filter chatty command output

Introduction

In this tutorial we learn how to install prolix on Ubuntu 22.04.

What is prolix

prolix is:

prolix launches a command and captures its standard output and error, suppressing uninteresting lines according to a pattern. Yet unlike grep -v, prolix is an interactive program: When you find that the output you’re being shown is still too verbose, simply hit enter and add additional suppression patterns. Suppression patterns can be full or substring line matches as well as regular expressions. You can also apply substitutions to lines, for example shorten overly chatty fields.

There are three methods to install prolix on Ubuntu 22.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 prolix Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install prolix

Install prolix Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install prolix

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

sudo aptitude -y install prolix

How To Uninstall prolix on Ubuntu 22.04

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

sudo apt-get remove prolix

Uninstall prolix And Its Dependencies

To uninstall prolix and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove prolix

Remove prolix Configurations and Data

To remove prolix configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge prolix

Remove prolix configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge prolix

References

Summary

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