pkg.soopen package index

brew / 排名 3829

使用 Homebrew, Nix, apt 安装 tika

查看 tika 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install tika

local Homebrew formula metadata

Linux

Nix已验证 · 92%
nix profile install nixpkgs#tika

nixpkgs package indexes · pkgs/by-name/ti/tika/package.nix · 来源: api.github.com

Ubuntu apt已验证 · 92%
sudo apt install libtika-java

Ubuntu 24.04 LTS package indexes · libtika-java · 来源: archive.ubuntu.com

概览

软件包摘要

Content analysis toolkit

命令和别名

  • tika
  • tika-rest-server

历史

项目历史与用法

Apache Tika is an Apache Software Foundation toolkit for detecting file types and extracting metadata and structured text content from documents using existing parser libraries. It is used both as a Java library and through command-line and server artifacts such as tika-app and tika-server.

项目历史

Tika emerged from the Apache Lucene ecosystem and became its own Apache top-level project in April 2010. The official site records Tika 0.8 in November 2010 as its first release as a TLP and Tika 1.0 in November 2011, just in time for ApacheCon NA 2011.

The project evolved from a library for content detection and text extraction into a large document-processing platform. Official getting-started documentation describes core modules, standard parser packages, a runnable tika-app jar with GUI and command-line interface, a JAX-RS REST server, OSGi bundles, and tika-eval tooling.

The release history shows recurring expansion into new formats, parser integrations, server features, OCR, language detection, metadata handling, and security hardening. Examples include Tika 1.15 adding tika-eval and configurable encoding detectors, Tika 2.x refactoring parser modules and pipes, and Tika 3.x requiring newer Java while continuing parser and server development.

The current official roadmap has moved the ecosystem forward again: the README states Tika 2.x and Java 8 support reached end of life in April 2025, while the download page lists Apache Tika 3.3.1 as the stable release and a 4.0.0 alpha line as a preview.

采用历史

Tika's adoption is tied to search, archives, digital forensics, records management, and large-scale document ingestion. The official site notes a 2010 ApacheCon talk on Tika use at NASA and in other Apache ecosystem projects, and it later records Apache Tika and Apache Solr as key technologies in analysis around the Panama Papers.

In package-manager terms, Tika is unusual because it is fundamentally a Java ecosystem project but is often installed as a command-line application or server. Homebrew's tika and tika-rest-server executables give shell users access to the same parsing engine without writing Java code.

Maven Central remains the natural adoption channel for Java applications, while package managers and runnable jars serve analysts, data engineers, and sysadmins who want document text extraction in scripts, ETL jobs, search indexing, or local experiments.

使用方式

The getting-started guide documents tika-app as a command-line utility for extracting text content and metadata from many file types, with flags for text, XHTML/XML, HTML, metadata JSON, recursive JSON, language detection, type detection, digest calculation, and embedded attachment extraction.

Tika is commonly used as a library when an application needs MIME detection or parser abstractions, as a standalone CLI when a user needs text or metadata on stdout, and as tika-server when teams want parsing over HTTP.

For package nerds, the tool is a dependable document-to-text bridge: install it, point it at PDFs, Office documents, archives, images, or email-like formats, and feed the extracted content into grep, search indexes, data pipelines, or audit tools.

为什么软件包爱好者会关心

Apache Tika is significant because it hides a large, fragile matrix of document formats and parser dependencies behind a stable package name. A small formula or package installs access to PDFBox, POI, media-type detection, metadata models, server endpoints, and many third-party parsers that would be fiddly to assemble by hand.

Its release notes are watched by maintainers because file parsers are security-sensitive and dependency-heavy. Package versions matter for Java requirements, parser behavior, CVEs, output format defaults, and whether users are on the 1.x, 2.x, 3.x, or preview 4.x line.

Tika is also a classic example of an enterprise Java tool that escaped into CLI culture: even users who never import org.apache.tika can use the packaged executable as a universal text extractor in shell workflows.

时间线

  • 2009: Official site lists early 0.3, 0.4, and 0.5 releases.
  • April 2010: Apache Tika graduates to top-level project status.
  • November 2010: Tika 0.8 becomes the first release as a TLP.
  • November 2011: Tika 1.0 released.
  • July 2021: Tika 2.0.0 released.
  • September 2022: Tika 1.x branch reaches end of life.
  • October 2024: Tika 3.0.0 released, with the 3.x branch requiring Java 11.
  • April 2025: Tika 2.x and Java 8 support reach end of life.
  • 2026: Tika 3.3.x stable releases and 4.0.0 alpha preview releases are documented on the official site.

Related projects

  • The official site places early Tika in the Lucene and Apache ecosystem and documents notable use with Apache Solr.
  • Official documentation names parser and build dependencies across the Java ecosystem, including Maven, Jetty for tika-server, and parser libraries used by the standard parser package.

来源

安全态势

风险级别:orange

broad file, network, media, or database tool signal. formula declares a Homebrew service.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • broad file, network, media, or database tool signal
  • formula declares a Homebrew service

信号

  • metadata:service
  • text:server

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
tika可执行文件已索引可执行文件从本地可执行文件索引发现。
tika-rest-server可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本3.3.2
管理器更新时间2026-07-21
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:tika
版本3.3.2
软件包管理器Homebrew
主页https://tika.apache.org/
最后更新2026-07-21T19:01:16Z
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

tika

nix profile install nixpkgs#tika
  • normalized package name match
  • 匹配方式:Tika
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ti/tika/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libtika-java 1.22-2

Apache Tika - content analysis toolkit

http://tika.apache.org

sudo apt install libtika-java
  • Section: universe/java
  • Architecture: all
  • Source Package: tika
  • 17 依赖
  • 26 可选依赖
  • normalized package name match
  • 匹配方式:Tika
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libtika-java from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation