# docx2txt を Homebrew, apt, pacman でインストール

docx2txt のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:docx2txt
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install docx2txt
```

  証拠: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install docx2txt
```

  証拠: Debian stable package indexes: docx2txt from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- pacman (92%):

```sh
sudo pacman -S docx2txt
```

  証拠: Arch Linux sync databases: docx2txt from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## パッケージ情報

- **パッケージキー:** brew:docx2txt
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.4
- **ソース概要:** Converts Microsoft Office docx documents to equivalent text documents
- **ホームページ:** <https://docx2txt.sourceforge.net/>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- docx2txt.pl (エイリアス)
- docx2txt.sh (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.4
## プロジェクトの歴史と使われ方

docx2txt is a Perl-based command-line utility for extracting formatted plain text from Microsoft Office `.docx` files. It reflects a classic Unix-filter approach to Office Open XML documents: unzip the archive, read the XML, and write text suitable for terminals, scripts, and editors.

### プロジェクトの歴史

The official SourceForge page lists releases from v0.1 in August 2008 through v1.4 in May 2014. Its homepage describes support for character conversion, text alignment, hyperlinks, lists, wrapper scripts, standard input and output, and multiple command-line unzip backends.

### 採用の歴史

docx2txt spread through package managers and text-processing workflows rather than through a large upstream community. The official site lists examples of direct or indirect usage, including search/indexing systems and an Oxford University Press hot-folder workflow, while Homebrew continues to package v1.4 with low but steady install activity.

### 使われ方

The tool is commonly used as `docx2txt.pl input.docx output.txt` or as a filter through wrapper scripts. The official page documents integrations for Midnight Commander, Vim, and Emacs so `.docx` files can be viewed as text from existing editor/file-manager workflows.

### パッケージ好きにとっての重要性

docx2txt is package-nerd significant as a small, dependency-light bridge between binary-ish office documents and plain-text automation. It is the kind of utility that stays useful in scripts, search indexes, mail pipelines, and recovery workflows long after its upstream release cadence slows.

### タイムライン

- 2008-08: v0.1 released.
- 2009-10: v1.0 released.
- 2012-01: v1.2 released.
- 2014-05: v1.4 released and homepage last updated.
- 2026: Homebrew continues to package v1.4.

### Related projects

- The official page relates docx2txt to command-line unzip tools such as Unzip, 7-Zip, PKZip, WinZip, and CakeCmd, and to editor/file-manager workflows in Midnight Commander, Vim, and Emacs.

### ソース

- <https://docx2txt.sourceforge.net/>
- <https://sourceforge.net/projects/docx2txt/>
- <https://sourceforge.net/p/docx2txt/code/>
- <https://formulae.brew.sh/api/formula/docx2txt.json>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- Debian apt - docx2txt - 1.4-5: normalized package name match | Debian stable package indexes: docx2txt from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Convert Microsoft OOXML files to plain text | http://docx2txt.sourceforge.net
- Ubuntu apt - docx2txt - 1.4-5: normalized package name match | Ubuntu 24.04 LTS package indexes: docx2txt from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Convert Microsoft OOXML files to plain text | http://docx2txt.sourceforge.net
- pacman - docx2txt - 1.4-6: normalized package name match | Arch Linux sync databases: docx2txt from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Recovers text from DOCX files, with good formatting. | http://docx2txt.sourceforge.net


## Combined YAML source

View the package source record on GitHub. [combined/docx2txt.yml](https://github.com/mxcl/pkgdb/blob/main/combined/docx2txt.yml)


## ソース

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