How To Install libtika-java on Debian 10
Introduction
In this tutorial we learn how to install libtika-java
on Debian 10.
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 Debian 10. 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 update
After updating apt database, We can install libtika-java
using apt-get
by running the following command:
sudo apt-get -y install libtika-java
Install libtika-java Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libtika-java
using apt
by running the following command:
sudo apt -y install libtika-java
Install libtika-java Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libtika-java
using aptitude
by running the following command:
sudo aptitude -y install libtika-java
How To Uninstall libtika-java on Debian 10
To uninstall only the libtika-java
package we can use the following command:
sudo apt-get remove libtika-java
Uninstall libtika-java And Its Dependencies
To uninstall libtika-java
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove libtika-java
Remove libtika-java Configurations and Data
To remove libtika-java
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge libtika-java
Remove 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-java
Dependencies
libtika-java have the following dependencies:
- libactivation-java
- 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
- libuima-core-java
References
Summary
In this tutorial we learn how to install libtika-java
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.