macOS
brew install ratforlocal Homebrew formula metadata
brew / rank 9646
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 | cli | global executable |
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 |
| Package manager page | https://formulae.brew.sh/formula/ratfor |
| Homepage | http://www.dgate.org/ratfor/ |
| Upstream docs | http://www.dgate.org/ratfor/ |
| License | LicenseRef-Homebrew-public-domain |
| Source archive | https://deb.debian.org/debian/pool/main/r/ratfor/ratfor_1.07.orig.tar.gz |
| Last updated | 2026-06-14T15:13:45+02:00 |
| Pulse | updated |
| Dependencies | gcc |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
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.