macOS
brew install tikalocal Homebrew formula metadata
安装
brew install tikalocal Homebrew formula metadata
nix profile install nixpkgs#tikanixpkgs package indexes · pkgs/by-name/ti/tika/package.nix · 来源: api.github.com
sudo apt install libtika-javaUbuntu 24.04 LTS package indexes · libtika-java · 来源: archive.ubuntu.com
概览
Content analysis toolkit
历史
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.
安全态势
broad file, network, media, or database tool signal. formula declares a Homebrew service.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
tika | cli | 全局可执行文件 | |
tika-rest-server | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:tika |
|---|---|
| 版本 | 3.3.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/tika |
| 主页 | https://tika.apache.org/ |
| 仓库 | https://github.com/apache/tika |
| 上游文档 | https://tika.apache.org/3.3.0/api |
| 许可证 | Apache-2.0 |
| 源码归档 | https://www.apache.org/dyn/closer.lua?path=tika/3.3.1/tika-app-3.3.1.jar |
| 最后更新 | 2026-05-26T16:55:34Z |
| Pulse | updated |
| 依赖 | openjdk |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | declared |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | tika |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
tika
nix profile install nixpkgs#tikalibtika-java 1.22-2
Apache Tika - content analysis toolkit
sudo apt install libtika-java来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.