# 使用 Homebrew, apt, Nix 安装 fypp

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

## 安装

```sh
sudo av install brew:fypp
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install fypp
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install fypp
```

  证据: Debian stable package indexes: fypp from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#fypp
```

  证据: nixpkgs package indexes: pkgs/by-name/fy/fypp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:fypp
- **软件包管理器:** Homebrew
- **版本:** 3.2
- **来源摘要:** Python powered Fortran preprocessor
- **主页:** <https://fypp.readthedocs.io/en/stable/>
- **仓库:** <https://github.com/aradi/fypp>
- **最后更新:** 2026-06-13T01:24:12+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- fypp (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Fypp is a Python-powered preprocessor aimed primarily at Fortran source preprocessing. Its documentation presents it as a way to add conditional compiling and template metaprogramming to modern Fortran while using Python expressions in directives rather than inventing a separate expression language.

### 项目历史

The GitHub repository was created in April 2016, with release 1.0 published the same day. Official documentation says Fypp was inspired by the pyratemp templating engine, but was written from scratch for source-code preprocessing needs such as compiler line-number markers and source-oriented line folding.

The project has continued through the 3.x line; release 3.0 was published in 2020, 3.1 in 2021, and 3.2 in 2023. The stable documentation identifies itself as Fypp 3.2.

### 采用历史

Fypp's official install instructions document conda-forge, pip/PyPI, MSYS2 pacman, GitHub release archives, and development installs from the repository. Supplied package-manager facts additionally list Homebrew, Debian, Nix, and Ubuntu packaging, reflecting use in both Python and Fortran build environments.

### 使用方式

Users run the `fypp` command-line tool or import `fypp.py` directly from Python scripts. The documentation covers Make, Waf, and CMake integration, and notes that Python-driven build systems can use the API instead of shelling out to the executable.

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

Fypp is package-nerd interesting because it is a small Python CLI that lives at the boundary between scientific Fortran build systems and Python packaging. It is not a general template engine packaged as an application; its significance is the deliberate adaptation of Python expression evaluation to Fortran preprocessing workflows.

### 时间线

- 2016: GitHub repository created.
- 2016: Release 1.0 published.
- 2020: Release 3.0 published.
- 2023: Release 3.2 published.

### Related projects

- The official documentation names pyratemp as an inspiration and compares Fypp with cpp/fpp-like preprocessors and the coco preprocessor. Its build-system examples place it beside Make, Waf, CMake, and Python-driven build tooling.

### 来源

- <https://api.github.com/repos/aradi/fypp>
- <https://fypp.readthedocs.io/en/stable/fypp.html>
- <https://github.com/aradi/fypp>
- <https://github.com/aradi/fypp/releases>
- <https://raw.githubusercontent.com/aradi/fypp/main/README.rst>


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Debian apt - fypp - 3.1-3: normalized package name match | Debian stable package indexes: fypp from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Python powered Fortran preprocessor | http://fypp.readthedocs.io/
- Nix - fypp: normalized package name match | nixpkgs package indexes: pkgs/by-name/fy/fypp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - fypp - 3.1-2: normalized package name match | Ubuntu 24.04 LTS package indexes: fypp from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Python powered Fortran preprocessor | http://fypp.readthedocs.io/


## Combined YAML source

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