# tofrodos を Homebrew, apt, dnf でインストール

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

## インストール

```sh
sudo av install brew:tofrodos
```

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

### macOS

- Homebrew (100%):

```sh
brew install tofrodos
```

  証拠: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install tofrodos
```

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

- dnf (92%):

```sh
sudo dnf install tofrodos
```

  証拠: Fedora Rawhide package metadata: tofrodos from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:tofrodos
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/tofrodos>
- **バージョン:** 2.1.1
- **ソース概要:** Converts DOS UNIX text files, alias tofromdos
- **ホームページ:** <https://github.com/ChristopherHeng/tofrodos>
- **リポジトリ:** <https://github.com/ChristopherHeng/tofrodos>
- **ライセンス:** GPL-2.0-only
- **ソースアーカイブ:** <https://github.com/ChristopherHeng/tofrodos/archive/refs/tags/2.1.1.tar.gz>
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- fromdos (cli)
- todos (cli)
- fromdos (エイリアス)
- todos (エイリアス)

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 2.1.1
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/ChristopherHeng/tofrodos
- 検出された最新: 2.1.1 (最新)
- 情報: No package-manager update timestamp was available.
## プロジェクトの歴史と使われ方

Tofrodos is a small command-line text conversion package for moving files between DOS/Windows CRLF line endings and Unix LF line endings.

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

The upstream README describes Tofrodos as two programs, fromdos and todos, that convert ASCII and UTF-8 text files between DOS and Unix newline formats. It is intentionally portable across Unix-like systems, Windows consoles, and DOS-family environments.

The package keeps the older Unix utility convention of behavior-by-command-name: the same program can be installed or renamed as fromdos, todos, dos2unix, or unix2dos, and it chooses the conversion direction from the invoked name.

### 採用の歴史

The upstream documentation points Linux users to distribution repositories, and the package record shows it available through Homebrew, Debian, Ubuntu, and Fedora/DNF.

### 使われ方

Typical use is direct shell conversion of one or more text files, wildcard batches, or pipeline use such as converting output before comparing it with diff.

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

Tofrodos matters as a tiny packaging-era compatibility utility: it solves the recurring CRLF/LF problem without pulling in a larger editor or VCS workflow, and its fromdos/todos command names are easy to script.

### タイムライン

- Current: Distributed as fromdos and todos for DOS-to-Unix and Unix-to-DOS newline conversion.
- Current: Packaged by Homebrew, Debian, Ubuntu, and Fedora/DNF according to the input package-manager facts.

### Related projects

- dos2unix and unix2dos are related command names and behaviors explicitly supported by Tofrodos.
- The package belongs to the same niche as other newline-normalization tools used in cross-platform source trees.

### ソース

- <https://github.com/ChristopherHeng/tofrodos#readme>
- source_facts.package-manager


## セキュリティノート

narrow executable package without higher-risk signals.

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

## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** tofrodos
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- Debian apt - tofrodos - 1.7.13+ds-6: normalized package name match | Debian stable package indexes: tofrodos from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Converts DOS <-> Unix text files, alias tofromdos | https://www.thefreecountry.com/tofrodos/index.shtml
- Ubuntu apt - tofrodos - 1.7.13+ds-6: normalized package name match | Ubuntu 24.04 LTS package indexes: tofrodos from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Converts DOS <-> Unix text files, alias tofromdos | https://www.thefreecountry.com/tofrodos/index.shtml
- dnf - tofrodos - 1.7.13-29.fc45: normalized package name match | Fedora Rawhide package metadata: tofrodos from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Converts text files between MSDOS and Unix file formats | http://www.thefreecountry.com/tofrodos/


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [dos2unix](https://pkg.so/ja/brew/dos2unix/) - Shares pkgdb curated category or tags: cli, developer-tools, dos, line-endings, text-conversion.
- [txt2man](https://pkg.so/ja/brew/txt2man/) - Shares pkgdb curated category or tags: cli, developer-tools, text-conversion, unix.
- [unixodbc](https://pkg.so/ja/brew/unixodbc/) - Shares pkgdb curated category or tags: cli, developer-tools, unix.
- [fish](https://pkg.so/ja/brew/fish/) - Shares pkgdb curated category or tags: cli, developer-tools, unix.
- [zsh](https://pkg.so/ja/brew/zsh/) - Shares pkgdb curated category or tags: cli, developer-tools, unix.
- [gnu-sed](https://pkg.so/ja/brew/gnu-sed/) - Shares pkgdb curated category or tags: cli, developer-tools, unix.
- [moreutils](https://pkg.so/ja/brew/moreutils/) - Shares pkgdb curated category or tags: cli, developer-tools, unix.
- [ed](https://pkg.so/ja/brew/ed/) - Shares pkgdb curated category or tags: cli, developer-tools, unix.
- [csvprintf](https://pkg.so/ja/brew/csvprintf/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, files, line.
- [recode](https://pkg.so/ja/brew/recode/) - Local package facts share a topical domain. Shared terms: cli, conversion, developer, developer-tools, text.

## Combined YAML source

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


## ソース

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