How To Install libtika-java on Kali Linux
Introduction
In this tutorial we learn how to install libtika-java on Kali Linux.
What is libtika-java
libtika-java is:
The Apache Tika toolkit detects and extracts metadata and text content from various documents (PPT, CSV, PDF, MP3, HTML and more) using existing parser libraries. Tika unifies these parsers under a single interface to allow you to easily parse over a thousand different file types. Tika is useful for search engine indexing, content analysis, translation, and much more.
There are three methods to install libtika-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 libtika-java Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libtika-java using apt-get by running the following command:
sudo apt-get -y install libtika-javaInstall libtika-java Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libtika-java using apt by running the following command:
sudo apt -y install libtika-javaInstall libtika-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 updateAfter updating apt database, We can install libtika-java using aptitude by running the following command:
sudo aptitude -y install libtika-javaHow To Uninstall libtika-java on Kali Linux
To uninstall only the libtika-java package we can use the following command:
sudo apt-get remove libtika-javaUninstall libtika-java And Its Dependencies
To uninstall libtika-java and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libtika-javaRemove libtika-java Configurations and Data
To remove libtika-java configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libtika-javaRemove libtika-java configuration, data, and all of its dependencies
We can use the following command to remove libtika-java configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libtika-javaDependencies
libtika-java have the following dependencies:
- libcommons-cli-java
- libcommons-compress-java
- libcommons-io-java
- libcommons-lang3-java
- libgeronimo-annotation-1.3-spec-java
- libgoogle-gson-java
- libguava-java
- libhttpclient-java
- libhttpmime-java
- libjackson2-annotations-java
- libjackson2-core-java
- libjackson2-databind-java
- libjaxb-java
- libjdom2-java
- libjsoup-java
- libslf4j-java
- libxerces2-java
References
Summary
In this tutorial we learn how to install libtika-java package on Kali Linux using different package management tools: apt, apt-get and aptitude.