---
name: "nf-config"
section: "1"
platform: "linux"
package: "libnetcdff-dev"
version: "4.6.0+really4.5.4+ds-3+b4"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/nf-config"
---

# nf-config(1)

query netCDF Fortran build options

## NAME

nf-config - query netCDF Fortran build options

## SYNOPSIS

**nf-config**  \[**--libs**\] \[**--cflags**\] \[**--cxxflags**\] \[**--defines**\] \[**--includes**\] \[**--version**\]

## DESCRIPTION

**nf-config** allows querying the options used to build the netCDF Fortran library.

## OPTIONS

- FC**--all**F\[0\]

  Display all options

- FC**--cc**F\[0\]

  C compiler

- FC**--fc**F\[0\]

  Fortran compiler

- FC**--cflags**F\[0\]

  Pre-processor and compiler flags

-

  - FC**--fflags**F\[0\]

  Flags needed to compile a Fortran program

- FC**--has-dap**F\[0\]

  Whether OPeNDAP is enabled in this build

- FC**--has-nc2**F\[0\]

  Whether NetCDF-2 API is enabled

- FC**--has-nc4**F\[0\]

  Whether NetCDF-4/HDF-5 is enabled in this build

- FC**--has-f90**F\[0\]

  Whether Fortran 90 API is enabled in this build

- FC**--has-f03**F\[0\]

  Whether Fortran 2003 API is enabled in this build

- FC**--flibs**F\[0\]

  Libraries needed to link a Fortran program

- FC**--prefix**F\[0\]

  Install prefix

- FC**--includedir**F\[0\]

  Include directory

- FC**--version**F\[0\]

  Library version
