jikespg command not found

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

Introduction

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

jikespg: command not found

or when using sudo you get the following error message

sudo: jikespg: command not found

Solutions to jikespg: command not found

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

In Ubuntu jikespg is provided by jikespg package.

jikespg is:

Jikes Parser Generator is a parser generator that accepts as input an annotated description for a language grammar and produces text files suitable for inclusion in a parser for that language. It is similar in function and use to the widely-available parser generators Yacc and Bison.

It also provides support for automatic diagnosis and recovery from syntactic errors. It is the parser generator used by the Jikes Compiler. Jikes Parser Generator can generate parsers for LALR(k) grammars and produce output suitable for use with parsers written in Java, C, or C++.

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

sudo apt-get -y install jikespg

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

You can also use apt command to install jikespg.

sudo apt -y install jikespg

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

sudo aptitude install jikespg

Summary

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