How To Install libportlet-api-2.0-spec-java on Kali Linux
Introduction
In this tutorial we learn how to install libportlet-api-2.0-spec-java
on Kali Linux.
What is libportlet-api-2.0-spec-java
libportlet-api-2.0-spec-java is:
The Java Portlet API version 2.0 developed by the Java Community Process JSR-286 Expert Group.
Portlets are pluggable user interface components that are managed and displayed in a web portal like Liferay or JBoss Gatein.
Package current source code is taken from Apache Portals project http://portals.apache.org/.
There are three methods to install libportlet-api-2.0-spec-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 libportlet-api-2.0-spec-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 libportlet-api-2.0-spec-java
using apt-get
by running the following command:
sudo apt-get -y install libportlet-api-2.0-spec-java
Install libportlet-api-2.0-spec-java Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libportlet-api-2.0-spec-java
using apt
by running the following command:
sudo apt -y install libportlet-api-2.0-spec-java
Install libportlet-api-2.0-spec-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 libportlet-api-2.0-spec-java
using aptitude
by running the following command:
sudo aptitude -y install libportlet-api-2.0-spec-java
How To Uninstall libportlet-api-2.0-spec-java on Kali Linux
To uninstall only the libportlet-api-2.0-spec-java
package we can use the following command:
sudo apt-get remove libportlet-api-2.0-spec-java
Uninstall libportlet-api-2.0-spec-java And Its Dependencies
To uninstall libportlet-api-2.0-spec-java
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libportlet-api-2.0-spec-java
Remove libportlet-api-2.0-spec-java Configurations and Data
To remove libportlet-api-2.0-spec-java
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libportlet-api-2.0-spec-java
Remove libportlet-api-2.0-spec-java configuration, data, and all of its dependencies
We can use the following command to remove libportlet-api-2.0-spec-java
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libportlet-api-2.0-spec-java
Dependencies
libportlet-api-2.0-spec-java have the following dependencies:
References
Summary
In this tutorial we learn how to install libportlet-api-2.0-spec-java
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.