How To Install libpicocli-java on Kali Linux

In this tutorial we learn how to install libpicocli-java on Kali Linux. libpicocli-java is Tiny command line interpreter library for Java applications

Introduction

In this tutorial we learn how to install libpicocli-java on Kali Linux.

What is libpicocli-java

libpicocli-java is:

Picocli is a one-file framework for creating Java command line applications with almost zero code. It supports a variety of command line syntax styles including POSIX, GNU, MS-DOS and more. Picocli generates highly customizable usage help messages with ANSI colors and styles. Picocli-based applications can have command line TAB completion showing available options, option parameters and subcommands, for any level of nested subcommands.

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

sudo apt-get -y install libpicocli-java

Install libpicocli-java Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libpicocli-java

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

sudo aptitude -y install libpicocli-java

How To Uninstall libpicocli-java on Kali Linux

To uninstall only the libpicocli-java package we can use the following command:

sudo apt-get remove libpicocli-java

Uninstall libpicocli-java And Its Dependencies

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

sudo apt-get -y autoremove libpicocli-java

Remove libpicocli-java Configurations and Data

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

sudo apt-get -y purge libpicocli-java

Remove libpicocli-java configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libpicocli-java

Dependencies

libpicocli-java have the following dependencies:

References

Summary

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