GDAL-CONFIG(1)

✨ GDAL-CONFIG(1) ✨

okay so bestie, this is the gdal-config page from the GDAL manual β€” and it's genuinely iconic, i promise πŸ’…


πŸ’– NAME πŸ’–

gdal-config β€” figures out various info about a GDAL installation. no cap, that's literally the whole job.

(yeah it says it twice in the original, and honestly? it's giving main character energy. it determines various information about a GDAL installation. 🫢)


πŸŽ€ SYNOPSIS πŸŽ€

gdal-config [OPTIONS]
Options:
        [--prefix[=DIR]]
        [--libs]
        [--cflags]
        [--version]
        [--ogr-enabled]
        [--formats]

🌸 DESCRIPTION 🌸

so this little utility script (it lives on Unix systems btw, it's a Unix girlie 🧚) lets you ask a GDAL installation all sorts of stuff about itself. like a vibe check but for your build ✨

ngl, it's normally just the thing that configure scripts call when an application is using GDAL β€” but you as an end user can absolutely query it yourself. it's not exclusive, it's inclusive 🫢

Here's the full rundown of everything it can tell you:

  • --prefix β€” the top level directory for the GDAL installation. like, where it lives 🏠
  • --libs β€” the libraries and link directives you need in order to use GDAL. so, what to link against, periodt.
  • --cflags β€” the include and macro definition required to compiled modules using GDAL. so, what to compile with πŸ’…
  • --version β€” reports the GDAL version. the receipts. the numbers. lowkey the most-asked one πŸ”₯
  • --ogr-enabled β€” reports "yes" or "no" to standard output, depending on whether OGR is built into GDAL. yes or no bestie, no essay required πŸ’€
  • --formats β€” reports which formats are configured into GDAL to stdout. the full roster of what your build can actually do πŸ‘‘

πŸ‘‘ AUTHOR πŸ‘‘

Frank Warmerdam <warmerdam@pobox.com> β€” the icon, the legend, the moment. πŸ’œ


1998-2026 β€” that's a long reign, and honestly? well deserved. ✨


that's the whole page bestie, you ate it πŸ“ and just so you have the receipts: this is from the GDAL manual and this version is dated Aug 18, 2026. go forth and configure your builds, i'm obsessed πŸ’–πŸ¦‹πŸŽ€

πŸ“¦ where this page comes from