Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 odt2txt

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install odt2txt

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install odt2txt

MacPorts ports tree · textproc/odt2txt/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add odt2txt

Alpine Linux edge package indexes · odt2txt · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install odt2txt

Debian stable package indexes · odt2txt · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install odt2txt

Fedora Rawhide package metadata · odt2txt · 来源: dl.fedoraproject.org

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

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

Arch Linux pacman已验证 · 92%
sudo pacman -S odt2txt

Arch Linux sync databases · odt2txt · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install odt2txt

openSUSE Tumbleweed package metadata · odt2txt · 来源: download.opensuse.org

概览

软件包摘要

Convert OpenDocument files to plain text

命令和别名

  • odt2txt

历史

项目历史与用法

odt2txt is a small C command-line converter that extracts plain text from OpenDocument Text files and related office-document formats. Its purpose is intentionally narrow: make ODT content usable in terminals, scripts, indexes, and text-processing pipelines.

项目历史

The project predates its GitHub repository. A Debian ITP thread from January 2007 identified odt2txt 0.2, Dennis Stosberg as upstream author, GPL-2 licensing, C as the implementation language, and the package description as a simple converter from OpenDocument Text to plain text.

The GitHub repository, created on November 29, 2013, preserves the tool's focused design. The README says odt2txt extracts text from OpenDocument Text files produced by LibreOffice, OpenOffice, StarOffice, KOffice, and others, and can also handle related formats such as OpenOffice.org XML, plus limited extraction from ODS and ODP.

采用历史

odt2txt's adoption path is classic distribution packaging. The input metadata lists packages for Alpine, Homebrew, Debian, Fedora, MacPorts, Nix, Arch, Ubuntu, and openSUSE, which fits a small utility used by scripts and distributions rather than by a branded developer platform.

The Debian packaging request from 2007 emphasized small size, speed, many encodings, and locale adaptation. Those are exactly the properties that make a document converter attractive to Unix pipelines and package maintainers.

使用方式

Users run `odt2txt` to extract document text for search indexing, diffing, grep-style inspection, backup audits, mail or web previews, and batch conversion where opening a full office suite is too heavy.

The README highlights practical portability: the tool supports multiple output encodings, adapts to the user's locale, substitutes common characters with ASCII lookalikes when needed, is written in C, has few dependencies, and runs on Linux, macOS, Windows, BSDs, Cygwin, Solaris, and HP-UX.

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

For package nerds, odt2txt is a durable example of a small format utility that survives because office documents are zip-and-XML bundles but users often need plain text. Its value is not novelty; it is predictable behavior, minimal dependencies, and packaging reach.

The package also records a bit of office-suite history: it names OpenOffice.org XML, StarOffice, KOffice, LibreOffice, and OpenDocument, tying modern ODT extraction back to pre-LibreOffice document formats.

时间线

  • January 2007: Debian's ITP listed odt2txt 0.2 and described it as a GPL-2 C utility for extracting text from OpenDocument Text files.
  • June 23, 2008: The man page version referenced odt2txt 0.5.
  • November 29, 2013: The GitHub repository was created, likely as a migrated or mirrored home for an older upstream project.
  • By July 1, 2026: Package metadata listed odt2txt across major Unix-like package managers.

Related projects

  • odt2txt is related to LibreOffice, OpenOffice, StarOffice, KOffice, OpenDocument, and other document-conversion utilities such as antiword, catdoc, pandoc, and text extraction tools used in search indexes.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
odt2txtcli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-25
管理器版本0.5
管理器更新时间
本地数据OK
上游当前
检测到的最新版本v0.5

https://github.com/dstosberg/odt2txt

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:odt2txt
版本0.5
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/odt2txt
主页https://github.com/dstosberg/odt2txt/
仓库https://github.com/dstosberg/odt2txt
上游文档https://github.com/dstosberg/odt2txt#readme
许可证GPL-2.0-only
源码归档https://github.com/dstosberg/odt2txt/archive/refs/tags/v0.5.tar.gz
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameodt2txt
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

odt2txt 0.5-7

simple converter from OpenDocument Text to plain text

https://github.com/dstosberg/odt2txt/

sudo apt install odt2txt
  • Section: text
  • Architecture: amd64
  • 2 依赖
  • normalized package name match
  • 匹配方式:Odt2txt
Debian stable package indexes · deb.debian.org · Debian stable package indexes: odt2txt from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

odt2txt

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

odt2txt 0.5-7build1

simple converter from OpenDocument Text to plain text

https://github.com/dstosberg/odt2txt/

sudo apt install odt2txt
  • Section: universe/text
  • Architecture: amd64
  • 2 依赖
  • normalized package name match
  • 匹配方式:Odt2txt
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: odt2txt from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

odt2txt 0.5_git20170928-r1

extracts the text out of OpenDocument Texts

https://github.com/dstosberg/odt2txt/

sudo apk add odt2txt
  • License: GPL-2.0-only
  • Architecture: x86_64
  • Source Package: odt2txt
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Odt2txt
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: odt2txt from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

odt2txt-doc 0.5_git20170928-r1

extracts the text out of OpenDocument Texts (documentation)

https://github.com/dstosberg/odt2txt/

sudo apk add odt2txt-doc
  • License: GPL-2.0-only
  • Architecture: x86_64
  • Source Package: odt2txt
  • normalized package name match
  • 匹配方式:Odt2txt
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: odt2txt-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

odt2txt 0.5-18.fc44

Converts an OpenDocument to plain text

http://stosberg.net/odt2txt/

sudo dnf install odt2txt
  • License: GPL-2.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: odt2txt
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Odt2txt
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: odt2txt from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

odt2txt 0.5-6

extracts the text out of OpenDocument Texts

https://github.com/dstosberg/odt2txt/

sudo pacman -S odt2txt
  • License: GPL2
  • Architecture: x86_64
  • 2 依赖
  • normalized package name match
  • 匹配方式:Odt2txt
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: odt2txt from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

odt2txt 0.5-2.8

Converter from OpenDocument Text to plain text

https://github.com/dstosberg

sudo zypper install odt2txt
  • License: GPL-2.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: odt2txt
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Odt2txt
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: odt2txt from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

odt2txt

sudo port install odt2txt
  • normalized package name match
  • 匹配方式:Odt2txt
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/odt2txt/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

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

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment