How To Install jikespg on Debian 9

In this tutorial we learn how to install jikespg on Debian 9. jikespg is Jikes Parser Generator

Introduction

In this tutorial we learn how to install jikespg on Debian 9.

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 Debian 9. 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 first since aptitude is usually not installed by default on Debian. 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 Debian 9

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 Debian 9, we can use the command below:

sudo apt-get -y autoremove jikespg

Remove jikespg Configurations and Data

To remove jikespg configuration and data from Debian 9 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 Debian 9 using different package management tools: apt, apt-get and aptitude.