pyp command not found

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

Introduction

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

pyp: command not found

or when using sudo you get the following error message

sudo: pyp: command not found

Solutions to pyp: command not found

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

In Ubuntu pyp is provided by pyp package.

pyp is:

pyp, the Pyed Piper, is a command line tool for text manipulation. It is similar to awk and sed in functionality, but its subcommands are Python based, and thus more familiar to many programmers.

It can operate both on a per-line base and on the complete input stream. Different features can be pipelined in a single command by using the pipe character familiar from shell commands.

pyp backs up its input for reruns with modified commands, and can save commands as macros. On the downside, the rerun feature makes it unsuitable for continuous pipe operation.

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

sudo apt-get -y install pyp

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

You can also use apt command to install pyp.

sudo apt -y install pyp

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

sudo aptitude install pyp

Summary

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