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

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

## インストール

```sh
sudo av install brew:ratfor
```

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

### macOS

- Homebrew (100%):

```sh
brew install ratfor
```

  証拠: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install ratfor
```

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

## パッケージ情報

- **パッケージキー:** brew:ratfor
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/ratfor>
- **バージョン:** 1.07
- **ソース概要:** Rational Fortran
- **ホームページ:** <http://www.dgate.org/ratfor/>
- **上流ドキュメント:** <http://www.dgate.org/ratfor/>
- **ライセンス:** LicenseRef-Homebrew-public-domain
- **ソースアーカイブ:** <https://deb.debian.org/debian/pool/main/r/ratfor/ratfor_1.07.orig.tar.gz>
- **最終更新:** 2026-06-14T15:13:45+02:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- ratfor (cli)
- ratfor (エイリアス)

## 依存関係

- gcc

## インストール挙動

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

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 1.07
- マネージャ更新日: 2026-06-14
- ローカルデータ: OK
- 上流リポジトリ: http://www.dgate.org/ratfor/
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

Ratfor, short for Rational FORTRAN, is a preprocessor that translates structured Ratfor source into FORTRAN 77. The maintained Linux Ratfor distribution descends from a public-domain version 1.0 and remains public domain.

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

Ratfor became widely known through Brian Kernighan and P. J. Plauger's classic `Software Tools`, where it provided a more structured notation over portable Fortran. The current Linux Ratfor lineage derives from work attributed to Oz, Ken Yap, W. Bauske of IBM, and the Stanford Exploration Project.

The Linux maintainer converted the implementation to ANSI C, added prototypes and GNU Autoconf support, and released it as 1.01 in 2001. Later releases integrated Debian fixes, repaired the string directive, improved FORTRAN 77 data-statement ordering, and addressed buffer overruns through version 1.07 in 2025.

### 採用の歴史

Ratfor's durable niche is legacy and educational Fortran tooling. The supplied package metadata records packages in Homebrew, Debian, and Ubuntu, while the official project page distributes source tarballs and RPMs.

### 使われ方

A user runs `ratfor` to preprocess Rational FORTRAN into FORTRAN 77, then compiles the generated code with a compatible compiler such as GNU Fortran. It is a translation step rather than a compiler or runtime of its own.

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

Ratfor is a compact example of source-to-source portability culture: a structured-language layer from the `Software Tools` tradition kept useful by small maintenance releases and distribution patches decades later.

### タイムライン

- 1976: Ratfor was used in the published `Software Tools` text.
- 2001: Linux Ratfor 1.01 converted the source to ANSI C and GNU Autoconf.
- 2015: Version 1.03 incorporated Debian changes and a Debian bug fix.
- 2025: Version 1.07 hardened include processing against buffer overruns.

### Related projects

- GNU Fortran can compile Ratfor's FORTRAN 77 output, and the Stanford Exploration Project is part of the ancestry documented for the maintained public-domain implementation.

### ソース

- <https://dgate.org/cgit.cgi/ratfor.git>
- <https://www.dgate.org/ratfor/>
- 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:** ratfor
- **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 - ratfor - 1.07-1: normalized package name match | Debian stable package indexes: ratfor from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Rational Fortran preprocessor for Fortran 77 | http://www.dgate.org/ratfor/
- Ubuntu apt - ratfor - 1.05-2: normalized package name match | Ubuntu 24.04 LTS package indexes: ratfor from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Rational Fortran preprocessor for Fortran 77 | http://www.dgate.org/ratfor/


## 関連リンク

- [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.
- [Language runtime packages](https://pkg.so/ja/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [gcc](https://pkg.so/ja/brew/gcc/) - Runtime dependency declared by Homebrew.
- [fypp](https://pkg.so/ja/brew/fypp/) - Shares pkgdb curated category or tags: cli, developer-tools, fortran, preprocessor.
- [pkl](https://pkg.so/ja/brew/pkl/) - Shares pkgdb curated category or tags: cli, developer-tools, programming-language.
- [fprettify](https://pkg.so/ja/brew/fprettify/) - Shares pkgdb curated category or tags: cli, developer-tools, fortran.
- [findent](https://pkg.so/ja/brew/findent/) - Shares pkgdb curated category or tags: cli, developer-tools, fortran.
- [fortitude](https://pkg.so/ja/brew/fortitude/) - Shares pkgdb curated category or tags: cli, developer-tools, fortran.
- [fpm](https://pkg.so/ja/brew/fpm/) - Shares pkgdb curated category or tags: cli, developer-tools, fortran.
- [fobis](https://pkg.so/ja/brew/fobis/) - Shares pkgdb curated category or tags: cli, developer-tools, fortran.
- [mcpp](https://pkg.so/ja/brew/mcpp/) - Shares pkgdb curated category or tags: cli, developer-tools, preprocessor.
- [aiken](https://pkg.so/ja/brew/aiken/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, language, programming.

## Combined YAML source

View the package source record on GitHub. [combined/ratfor.yml](https://github.com/mxcl/pkgdb/blob/main/combined/ratfor.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
