macOS
brew install odt2txtlocal Homebrew formula metadata
sudo port install odt2txtMacPorts ports tree · textproc/odt2txt/Portfile · 来源: api.github.com
安装
brew install odt2txtlocal Homebrew formula metadata
sudo port install odt2txtMacPorts ports tree · textproc/odt2txt/Portfile · 来源: api.github.com
sudo apk add odt2txtAlpine Linux edge package indexes · odt2txt · 来源: dl-cdn.alpinelinux.org
sudo apt install odt2txtDebian stable package indexes · odt2txt · 来源: deb.debian.org
sudo dnf install odt2txtFedora Rawhide package metadata · odt2txt · 来源: dl.fedoraproject.org
nix profile install nixpkgs#odt2txtnixpkgs package indexes · pkgs/by-name/od/odt2txt/package.nix · 来源: api.github.com
sudo pacman -S odt2txtArch Linux sync databases · odt2txt · 来源: geo.mirror.pkgbuild.com
sudo zypper install odt2txtopenSUSE Tumbleweed package metadata · odt2txt · 来源: download.opensuse.org
概览
Convert OpenDocument files to plain text
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
odt2txt | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/dstosberg/odt2txt
安装元数据
| 软件包键 | 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 Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | odt2txt |
| 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 软件包链接分开显示。
odt2txt 0.5-7
simple converter from OpenDocument Text to plain text
https://github.com/dstosberg/odt2txt/
sudo apt install odt2txtodt2txt
nix profile install nixpkgs#odt2txtodt2txt 0.5-7build1
simple converter from OpenDocument Text to plain text
https://github.com/dstosberg/odt2txt/
sudo apt install odt2txtodt2txt 0.5_git20170928-r1
extracts the text out of OpenDocument Texts
https://github.com/dstosberg/odt2txt/
sudo apk add odt2txtodt2txt-doc 0.5_git20170928-r1
extracts the text out of OpenDocument Texts (documentation)
https://github.com/dstosberg/odt2txt/
sudo apk add odt2txt-docodt2txt 0.5-18.fc44
Converts an OpenDocument to plain text
sudo dnf install odt2txtodt2txt 0.5-6
extracts the text out of OpenDocument Texts
https://github.com/dstosberg/odt2txt/
sudo pacman -S odt2txtodt2txt 0.5-2.8
Converter from OpenDocument Text to plain text
sudo zypper install odt2txtodt2txt
sudo port install odt2txt来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.