macOS
brew install ratforlocal Homebrew formula metadata
brew / rank 9670
Rational Fortran. Version 1.07 via Homebrew; verified 2026-06-14. Also installable with debian: sudo apt install ratfor.
install
brew install ratforlocal Homebrew formula metadata
sudo apt install ratforDebian stable package indexes · ratfor · source: deb.debian.org
overview
Rational Fortran
history
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
ratfor | executable | indexed executable | Discovered from the local executable index. |
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.
install metadata
| Package key | brew:ratfor |
|---|---|
| Version | 1.07 |
| Package manager | Homebrew |
| Homepage | http://www.dgate.org/ratfor/ |
| Last updated | 2026-06-14T15:13:45+02:00 |
| Pulse | updated |
| Bottle | not recorded |
| Service | none declared |
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
ratfor 1.07-1
Rational Fortran preprocessor for Fortran 77
sudo apt install ratforratfor 1.05-2
Rational Fortran preprocessor for Fortran 77
sudo apt install ratforsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.