# Install fypp with Homebrew, apt, Nix

Python powered Fortran preprocessor. Version 3.2 via Homebrew; verified 2026-06-13. Also installable with debian: sudo apt install fypp.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install fypp
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install fypp
```

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:fypp
- **Package manager:** Homebrew
- **Version:** 3.2
- **Source summary:** Python powered Fortran preprocessor
- **Homepage:** <https://fypp.readthedocs.io/en/stable/>
- **Repository:** <https://github.com/aradi/fypp>
- **Last updated:** 2026-06-13T01:24:12+02:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- fypp (alias)

## Install behavior

- Bottle: not available

## Freshness

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

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


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


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