# 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:tofrodos
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2.1.1
- **ソース概要:** Converts DOS UNIX text files, alias tofromdos
- **ホームページ:** <https://github.com/ChristopherHeng/tofrodos>
- **リポジトリ:** <https://github.com/ChristopherHeng/tofrodos>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

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

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

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

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

- 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Converts text files between MSDOS and Unix file formats | http://www.thefreecountry.com/tofrodos/


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
