yapps2 command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
yapps2: command not found
or when using sudo you get the following error message
sudo: yapps2: command not found
Solutions to yapps2: command not found
How To Fix yapps2: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu yapps2 is provided by yapps2 package.
yapps2 is:
YAPPS is an easy to use parser generator that is written in Python and generates Python code. There are several parser generator systems already available for Python, but this parser has different goals: Yapps is simple, very easy to use, and produces human-readable parsers.
It is not the fastest or most powerful parser. Yapps is designed to be used when regular expressions are not enough and other parser systems are too much: situations where you might otherwise write your own recursive descent parser.
This package contains several upward-compatible enhancements to the original YAPPS source:
- handles recursive input ("include files")
- better error reporting
- reads input incrementally
To fix this problem, we can install more using the command below.
sudo apt-get -y install yapps2
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install yapps2.
sudo apt -y install yapps2
Or if you have aptitude installed you can use the following command.
sudo aptitude install yapps2
Summary
In this tutorial we learn how to fix yapps2 command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.