# Install ftnchek with Homebrew, apt, dnf, MacPorts

Fortran 77 program checker. Version 3.3.1 via Homebrew; verified 2026-06-22. Also installable with debian: sudo apt install ftnchek.

## Install

```sh
sudo av install brew:ftnchek
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install ftnchek
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ftnchek
```

  Evidence: MacPorts ports tree: devel/ftnchek/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install ftnchek
```

  Evidence: Debian stable package indexes: ftnchek from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install ftnchek
```

  Evidence: Fedora Rawhide package metadata: ftnchek from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

## Package facts

- **Package key:** brew:ftnchek
- **Package manager:** Homebrew
- **Version:** 3.3.1
- **Source summary:** Fortran 77 program checker
- **Homepage:** <https://www.dsm.fordham.edu/~ftnchek/>
- **Last updated:** 2026-06-22T14:03:23-07:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- dcl2inc (alias)
- ftnchek (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 3.3.1
## Project history and usage

ftnchek is a Fortran 77 static analyzer and program checker. Its official documentation describes it as a tool for finding semantic errors, portability problems, questionable declarations, unused variables, and related issues that a compiler may not diagnose.

### Project history

The project is maintained from Robert K. Moniot's Fordham University pages, where version 3.3 is documented as the latest major release and version 3.3.1 source and binaries were published in February and March 2005. The project later added a SourceForge presence for development work, with the homepage directing contributors to the SourceForge CVS repository for the most recent experimental source.

### Adoption history

The official download area distributed source archives, Unix manual formats, PostScript and PDF documentation, and binaries for Windows, Linux, Solaris, and Mac OS X. The project page also pointed users toward long-running scientific-software distribution channels such as Netlib and ibiblio.

### How it is used

ftnchek is used before or alongside compilation to inspect legacy Fortran code for semantic and portability problems. The companion dcl2inc utility and the large option set reflect the needs of maintaining old Fortran codebases across different compilers and platforms.

### Why package nerds care

For package maintainers, ftnchek is a classic example of a small, long-lived language-specific checker whose upstream release tarball, generated manuals, and platform binaries predate modern forge workflows but remain useful for scientific and engineering code archaeology.

### Timeline

- 2004: FTNCHEK 3.3 manual updated in November 2004.
- 2005: Status page lists ftnchek 3.3 and describes new Fortran 90 pointer-syntax support.
- 2005: Version 3.3.1 source, documentation, and several platform binaries published.
- 2006: Official download area adds a patch for the 3.3.1 variable-format parsing bug.

### Related projects

- dcl2inc is distributed with ftnchek documentation as a related utility.
- ftnpp is listed by the official download page as an auxiliary preprocessor for code using both cpp-style and Fortran INCLUDE directives.
- The official homepage links to a Fortran 90 volunteer effort, reflecting interest in extending ftnchek beyond its Fortran 77 base.

### Sources

- <https://sourceforge.net/p/ftnchek/cvs>
- <https://www.dsm.fordham.edu/~ftnchek>
- <https://www.dsm.fordham.edu/~ftnchek/Plan>
- <https://www.dsm.fordham.edu/~ftnchek/ftp-index.html>
- <https://www.dsm.fordham.edu/~ftnchek/html/index.html>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Other Package-Manager Records

- Debian apt - ftnchek - 3.3.1-7: normalized package name match | Debian stable package indexes: ftnchek from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Semantic checker for Fortran 77 programs
- Ubuntu apt - ftnchek - 3.3.1-6: normalized package name match | Ubuntu 24.04 LTS package indexes: ftnchek from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Semantic checker for Fortran 77 programs
- dnf - ftnchek - 3.3.1-46.fc45: normalized package name match | Fedora Rawhide package metadata: ftnchek from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Static analyzer for Fortran 77 programs | http://www.dsm.fordham.edu/~ftnchek/
- MacPorts - ftnchek: normalized package name match | MacPorts ports tree: devel/ftnchek/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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


## Sources

- 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
