# 使用 Homebrew, apt, dnf, MacPorts 安装 ftnchek

查看 ftnchek 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ftnchek
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ftnchek
```

  证据: 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
```

  证据: 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
```

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

## 软件包事实

- **软件包键:** brew:ftnchek
- **软件包管理器:** Homebrew
- **版本:** 3.3.1
- **来源摘要:** Fortran 77 program checker
- **主页:** <https://www.dsm.fordham.edu/~ftnchek/>
- **最后更新:** 2026-06-22T14:03:23-07:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- dcl2inc (别名)
- ftnchek (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 3.3.1
## 项目历史与用法

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.

### 项目历史

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.

### 采用历史

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.

### 使用方式

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.

### 为什么软件包爱好者会关心

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.

### 时间线

- 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.

### 来源

- <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>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 其他软件包管理器记录

- 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)


## 来源

- 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
