How To Install jikespg on Kali Linux
Introduction
In this tutorial we learn how to install jikespg on Kali Linux.
What is jikespg
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++.
There are three methods to install jikespg on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install jikespg Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install jikespg using apt-get by running the following command:
sudo apt-get -y install jikespgInstall jikespg Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install jikespg using apt by running the following command:
sudo apt -y install jikespgInstall jikespg Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install jikespg using aptitude by running the following command:
sudo aptitude -y install jikespgHow To Uninstall jikespg on Kali Linux
To uninstall only the jikespg package we can use the following command:
sudo apt-get remove jikespgUninstall jikespg And Its Dependencies
To uninstall jikespg and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove jikespgRemove jikespg Configurations and Data
To remove jikespg configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge jikespgRemove jikespg configuration, data, and all of its dependencies
We can use the following command to remove jikespg configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge jikespgDependencies
jikespg have the following dependencies:
References
Summary
In this tutorial we learn how to install jikespg package on Kali Linux using different package management tools: apt, apt-get and aptitude.