How To Install libjavacc-maven-plugin-java on Kali Linux
Introduction
In this tutorial we learn how to install libjavacc-maven-plugin-java
on Kali Linux.
What is libjavacc-maven-plugin-java
libjavacc-maven-plugin-java is:
This plugin uses the JavaCC parser generator to process JavaCC grammar files and generate the appropriate Java source files. For general information about JavaCC, see the JavaCC web site.
JavaCC grammar files use the extension .jj. This plugin can be used to locate and process all grammar files within a specified directory. Java source files will be written to a common generated-sources output directory, typically located in the build output directory. By default, the plugin will run during the generate-sources phase, but it can be configured to run in other phases as well.
The plugin can also be used to call the JJTree and JTB tools.
Finally, this plugin contains a goal for running JJDoc. JJDoc is a simple tool that generates BNF documentation for the JavaCC grammar files. This can be used to generate a report for your project site using the Maven reporting tools.
There are three methods to install libjavacc-maven-plugin-java
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 libjavacc-maven-plugin-java Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libjavacc-maven-plugin-java
using apt-get
by running the following command:
sudo apt-get -y install libjavacc-maven-plugin-java
Install libjavacc-maven-plugin-java Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libjavacc-maven-plugin-java
using apt
by running the following command:
sudo apt -y install libjavacc-maven-plugin-java
Install libjavacc-maven-plugin-java 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 libjavacc-maven-plugin-java
using aptitude
by running the following command:
sudo aptitude -y install libjavacc-maven-plugin-java
How To Uninstall libjavacc-maven-plugin-java on Kali Linux
To uninstall only the libjavacc-maven-plugin-java
package we can use the following command:
sudo apt-get remove libjavacc-maven-plugin-java
Uninstall libjavacc-maven-plugin-java And Its Dependencies
To uninstall libjavacc-maven-plugin-java
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libjavacc-maven-plugin-java
Remove libjavacc-maven-plugin-java Configurations and Data
To remove libjavacc-maven-plugin-java
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libjavacc-maven-plugin-java
Remove libjavacc-maven-plugin-java configuration, data, and all of its dependencies
We can use the following command to remove libjavacc-maven-plugin-java
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libjavacc-maven-plugin-java
Dependencies
libjavacc-maven-plugin-java have the following dependencies:
- javacc
- jtb
- libdoxia-core-java
- libdoxia-sitetools-java
- libmaven-reporting-api-java
- libmaven-reporting-impl-java
- libmaven3-core-java
- libplexus-utils-java
References
Summary
In this tutorial we learn how to install libjavacc-maven-plugin-java
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.