Automic VaultAutomic Vault

brew

Install geographiclib with Homebrew, apt, dnf, MacPorts, Nix

C++ geography library. Version 2.7 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install geographiclib

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install geographiclib

MacPorts ports tree · gis/geographiclib/Portfile · source: api.github.com

Linux

Debian aptverified · 92%
sudo apt install geographiclib-doc

Debian stable package indexes · geographiclib-doc · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install GeographicLib

Fedora Rawhide package metadata · GeographicLib · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#geographiclib

nixpkgs package indexes · pkgs/by-name/ge/geographiclib/package.nix · source: api.github.com

overview

Package summary

C++ geography library

Commands and aliases

  • Cart3Convert
  • CartConvert
  • Conformal3Proj
  • ConicProj
  • GeoConvert
  • Geod3Solve
  • GeodSolve
  • GeodesicProj
  • GeoidEval
  • Gravity
  • IntersectTool
  • MagneticField
  • Planimeter
  • RhumbSolve
  • TransverseMercatorProj
  • geographiclib-get-geoids
  • geographiclib-get-gravity
  • geographiclib-get-magnetic

history

Project history and usage

GeographicLib is a family of geodesy libraries descended from Charles Karney's C++ library, which began in 2008. The C++ library provides geodesic and rhumb-line calculations, coordinate conversions, gravity and geomagnetic field calculations, triaxial-ellipsoid computations, command-line utilities, and high-accuracy algorithms intended to return results near round-off error.

Project history

The project began as a C++ library, then grew because its geodesic routines were useful enough to port to several other languages. Before version 2.0, those implementations lived together in one repository; after version 2.0 they were split into a family of repositories, leaving the C++ repository as the broadest implementation.

The documentation describes GeographicLib as project-hosted on SourceForge, with repositories on GitHub and package distributions maintained through SourceForge. The C++ repository also documents separate release and development branches, a pattern useful to downstream packagers who need stable tagged releases.

Adoption history

GeographicLib's geodesic routines spread beyond the C++ package into C, Fortran, Python, Octave/MATLAB, Java, and JavaScript implementations. The C library is incorporated into PROJ and the R geosphere package, and official notes list downstream availability in Linux distributions, conda-forge, vcpkg, and Homebrew.

How it is used

Practitioners use GeographicLib when accuracy matters for ellipsoidal geodesics, UTM/UPS/MGRS conversion, geocentric and local Cartesian conversion, geoid height evaluation, gravity models, magnetic models, polygon perimeter and area, and rhumb-line calculations. The package exposes this work through C++ APIs and many small utilities such as `GeodSolve`, `GeoConvert`, `GeoidEval`, `Gravity`, and `MagneticField`.

Why package nerds care

For package-manager users, GeographicLib is a compact but foundational geodesy dependency: it provides command-line tools, data installers, and stable library APIs used by mapping, GIS, surveying, navigation, and scientific software. The split between code packages and optional datasets makes it a classic packaging case where binaries and data files are handled separately.

Timeline

  • 2008: Charles Karney's original C++ library began.
  • 2009-2025: The documentation copyright span reflects long-running public maintenance.
  • 2.0: Language implementations were separated into a family of repositories.

Related projects

  • Related implementations include GeographicLib-C, GeographicLib-Fortran, GeographicLib-Python, GeographicLib-Java, and JavaScript packages. The documentation also names PROJ, geosphere, conda-forge, vcpkg, Homebrew, and several independent ports or wrappers.

security posture

Risk level: green

library-like package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • library-like package without higher-risk signals

Signals

  • metadata:library-like

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
Cart3Convertcliglobal executable
CartConvertcliglobal executable
Conformal3Projcliglobal executable
ConicProjcliglobal executable
GeoConvertcliglobal executable
Geod3Solvecliglobal executable
GeodSolvecliglobal executable
GeodesicProjcliglobal executable
GeoidEvalcliglobal executable
Gravitycliglobal executable
IntersectToolcliglobal executable
MagneticFieldcliglobal executable
Planimetercliglobal executable
RhumbSolvecliglobal executable
TransverseMercatorProjcliglobal executable
geographiclib-get-geoidscliglobal executable
geographiclib-get-gravitycliglobal executable
geographiclib-get-magneticcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version2.7
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/geographiclib/geographiclib

install metadata

Package metadata

Package keybrew:geographiclib
Version2.7
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/geographiclib
Homepagehttps://geographiclib.sourceforge.io/
Repositoryhttps://github.com/geographiclib/geographiclib
Upstream docshttps://geographiclib.sourceforge.io/
LicenseMIT
Source archivehttps://github.com/geographiclib/geographiclib/archive/refs/tags/r2.7.tar.gz
Build dependenciescmake
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegeographiclib
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

geographiclib-doc 2.5-1

C++ library to solve some geodesic problems -- documentation

https://geographiclib.sourceforge.io/

sudo apt install geographiclib-doc
  • Section: doc
  • Architecture: all
  • Source Package: geographiclib
  • 1 dependencies
  • normalized package name match
  • Matched by: Geographiclib
Debian stable package indexes · deb.debian.org · Debian stable package indexes: geographiclib-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

geographiclib-tools 2.5-1

C++ library to solve some geodesic problems -- tools

https://geographiclib.sourceforge.io/

sudo apt install geographiclib-tools
  • Section: science
  • Architecture: amd64
  • Source Package: geographiclib
  • 5 dependencies
  • 3 optional deps
  • normalized package name match
  • Matched by: Geographiclib
Debian stable package indexes · deb.debian.org · Debian stable package indexes: geographiclib-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgeographiclib-dev 2.5-1

C++ library to solve some geodesic problems -- development files

https://geographiclib.sourceforge.io/

sudo apt install libgeographiclib-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: geographiclib
  • 1 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Geographiclib
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgeographiclib-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgeographiclib26 2.5-1

C++ library to solve some geodesic problems -- library

https://geographiclib.sourceforge.io/

sudo apt install libgeographiclib26
  • Section: libs
  • Architecture: amd64
  • Source Package: geographiclib
  • 3 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Geographiclib
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgeographiclib26 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

geographiclib

nix profile install nixpkgs#geographiclib
  • normalized package name match
  • Matched by: Geographiclib
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ge/geographiclib/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

geographiclib-doc 2.3-1build1

C++ library to solve some geodesic problems -- documentation

https://geographiclib.sourceforge.io/

sudo apt install geographiclib-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: geographiclib
  • 1 dependencies
  • normalized package name match
  • Matched by: Geographiclib
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: geographiclib-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

geographiclib-tools 2.3-1build1

C++ library to solve some geodesic problems -- tools

https://geographiclib.sourceforge.io/

sudo apt install geographiclib-tools
  • Section: universe/science
  • Architecture: amd64
  • Source Package: geographiclib
  • 5 dependencies
  • 3 optional deps
  • normalized package name match
  • Matched by: Geographiclib
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: geographiclib-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libgeographiclib-dev 2.3-1build1

C++ library to solve some geodesic problems -- development files

https://geographiclib.sourceforge.io/

sudo apt install libgeographiclib-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: geographiclib
  • 1 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Geographiclib
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libgeographiclib-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libgeographiclib26 2.3-1build1

C++ library to solve some geodesic problems -- library

https://geographiclib.sourceforge.io/

sudo apt install libgeographiclib26
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: geographiclib
  • 3 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Geographiclib
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libgeographiclib26 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

GeographicLib 2.7-3.fc44

Library for geographic coordinate transformations

https://github.com/geographiclib/geographiclib

sudo dnf install GeographicLib
  • License: MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: GeographicLib
  • 8 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Geographiclib
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: GeographicLib from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

GeographicLib-devel 2.7-3.fc44

Development files and libraries for GeographicLib

https://github.com/geographiclib/geographiclib

sudo dnf install GeographicLib-devel
  • License: MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: GeographicLib
  • 5 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Geographiclib
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: GeographicLib-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

GeographicLib-doc 2.7-3.fc44

Development documentation for GeographicLib

https://github.com/geographiclib/geographiclib

sudo dnf install GeographicLib-doc
  • License: MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: GeographicLib
  • 1 provides
  • normalized package name match
  • Matched by: Geographiclib
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: GeographicLib-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

mingw32-GeographicLib 2.7-3.fc44

MinGW Windows GeographicLib library

https://github.com/geographiclib/geographiclib

sudo dnf install mingw32-GeographicLib
  • License: MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: GeographicLib
  • 4 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Geographiclib
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: mingw32-GeographicLib from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

mingw64-GeographicLib 2.7-3.fc44

MinGW Windows GeographicLib library

https://github.com/geographiclib/geographiclib

sudo dnf install mingw64-GeographicLib
  • License: MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: GeographicLib
  • 4 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Geographiclib
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: mingw64-GeographicLib from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
MacPorts95%

geographiclib

sudo port install geographiclib
  • normalized package name match
  • Matched by: Geographiclib
MacPorts ports tree · api.github.com · MacPorts ports tree: gis/geographiclib/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
MacPorts94%

gravity

sudo port install gravity
  • installed executable or alias match
  • Matched by: Gravity
MacPorts ports tree · api.github.com · MacPorts ports tree: lang/gravity/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment