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 update
After updating apt database, We can install jikespg
using apt-get
by running the following command:
sudo apt-get -y install jikespg
Install jikespg Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install jikespg
using apt
by running the following command:
sudo apt -y install jikespg
Install 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 update
After updating apt database, We can install jikespg
using aptitude
by running the following command:
sudo aptitude -y install jikespg
How To Uninstall jikespg on Kali Linux
To uninstall only the jikespg
package we can use the following command:
sudo apt-get remove jikespg
Uninstall 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 jikespg
Remove jikespg Configurations and Data
To remove jikespg
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge jikespg
Remove 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 jikespg
Dependencies
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
.