How To Install percol on Debian 10

Learn how to install percol on Debian 10 with this tutorial. percol is interactive selection for UNIX pipes

Introduction

In this tutorial we learn how to install percol on Debian 10.

What is percol

percol is:

An interactive grep tool in your terminal. Percol does the following:

  1. receives input lines from stdin or a file,
  2. lists up the input lines,
  3. waits for your input that filter/select the line(s),
  4. and finally outputs the selected line(s) to stdout.

Since percol just filters the input and output the result to stdout, it can be used in command-chains with | in your shell (UNIX philosophy!).

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

Install percol Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install percol

Install percol Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install percol

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

sudo aptitude -y install percol

How To Uninstall percol on Debian 10

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

sudo apt-get remove percol

Uninstall percol And Its Dependencies

To uninstall percol and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove percol

Remove percol Configurations and Data

To remove percol configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge percol

Remove percol configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge percol

Dependencies

percol have the following dependencies:

References

Summary

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