How To Install libmaven-source-plugin-java on Kali Linux

In this tutorial we learn how to install libmaven-source-plugin-java on Kali Linux. libmaven-source-plugin-java is Maven Source Plugin

Introduction

In this tutorial we learn how to install libmaven-source-plugin-java on Kali Linux.

What is libmaven-source-plugin-java

libmaven-source-plugin-java is:

The Maven 2 Source Plugin creates a JAR archive of the source files of the current project. The Source Plugin has five goals:

  • source:aggregate aggregrates sources for all modules in an aggregator project.
  • source:jar is used to bundle the main sources of the project into a jar archive.
  • source:test-jar on the other hand, is used to bundle the test sources of the project into a jar archive.
  • source:jar-no-fork is similar to jar but does not fork the build lifecycle.
  • source:test-jar-no-fork is similar to test-jar but does not fork the build lifecycle.

There are three methods to install libmaven-source-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 libmaven-source-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 libmaven-source-plugin-java using apt-get by running the following command:

sudo apt-get -y install libmaven-source-plugin-java

Install libmaven-source-plugin-java Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libmaven-source-plugin-java using apt by running the following command:

sudo apt -y install libmaven-source-plugin-java

Install libmaven-source-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 libmaven-source-plugin-java using aptitude by running the following command:

sudo aptitude -y install libmaven-source-plugin-java

How To Uninstall libmaven-source-plugin-java on Kali Linux

To uninstall only the libmaven-source-plugin-java package we can use the following command:

sudo apt-get remove libmaven-source-plugin-java

Uninstall libmaven-source-plugin-java And Its Dependencies

To uninstall libmaven-source-plugin-java and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove libmaven-source-plugin-java

Remove libmaven-source-plugin-java Configurations and Data

To remove libmaven-source-plugin-java configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libmaven-source-plugin-java

Remove libmaven-source-plugin-java configuration, data, and all of its dependencies

We can use the following command to remove libmaven-source-plugin-java configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libmaven-source-plugin-java

Dependencies

libmaven-source-plugin-java have the following dependencies:

References

Summary

In this tutorial we learn how to install libmaven-source-plugin-java package on Kali Linux using different package management tools: apt, apt-get and aptitude.