percol command not found

In this troubleshooting guide we learn how to fix percol command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

percol: command not found

or when using sudo you get the following error message

sudo: percol: command not found

Solutions to percol: command not found

How To Fix percol: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu percol is provided by percol package.

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!).

To fix this problem, we can install more using the command below.

sudo apt-get -y install percol

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install percol.

sudo apt -y install percol

Or if you have aptitude installed you can use the following command.

sudo aptitude install percol

Summary

In this tutorial we learn how to fix percol command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.