Automic VaultAutomic Vault

brew

Install odt2txt with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Convert OpenDocument files to plain text. Version 0.5 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install odt2txt

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install odt2txt

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

Linux

Alpine Linux apkverified · 92%
sudo apk add odt2txt

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

Debian aptverified · 92%
sudo apt install odt2txt

Debian stable package indexes · odt2txt · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install odt2txt

Fedora Rawhide package metadata · odt2txt · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#odt2txt

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

Arch Linux pacmanverified · 92%
sudo pacman -S odt2txt

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

openSUSE zypperverified · 92%
sudo zypper install odt2txt

openSUSE Tumbleweed package metadata · odt2txt · source: download.opensuse.org

overview

Package summary

Convert OpenDocument files to plain text

Commands and aliases

  • odt2txt

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
odt2txtcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.5
manager updated
local dataok
upstreamcurrent
latest detectedv0.5

https://github.com/dstosberg/odt2txt

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:odt2txt
Version0.5
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/odt2txt
Homepagehttps://github.com/dstosberg/odt2txt/
Repositoryhttps://github.com/dstosberg/odt2txt
Upstream docshttps://github.com/dstosberg/odt2txt#readme
LicenseGPL-2.0-only
Source archivehttps://github.com/dstosberg/odt2txt/archive/refs/tags/v0.5.tar.gz
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

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 dependencies
  • normalized package name match
  • Matched by: 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
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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
  • Matched by: 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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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