pkg.soopen package index

brew / rank 6395

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

C++ geography library. Version 2.7 via Homebrew; verified from local package data. Also installable with debian: sudo apt install geographiclib-doc.

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

Nixverified · 92%
nix profile install nixpkgs#geographiclib

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

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

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 bottle metadata was recorded.

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
Cart3Convertexecutableindexed executableDiscovered from the local executable index.
CartConvertexecutableindexed executableDiscovered from the local executable index.
Conformal3Projexecutableindexed executableDiscovered from the local executable index.
ConicProjexecutableindexed executableDiscovered from the local executable index.
GeoConvertexecutableindexed executableDiscovered from the local executable index.
Geod3Solveexecutableindexed executableDiscovered from the local executable index.
GeodSolveexecutableindexed executableDiscovered from the local executable index.
GeodesicProjexecutableindexed executableDiscovered from the local executable index.
GeoidEvalexecutableindexed executableDiscovered from the local executable index.
Gravityexecutableindexed executableDiscovered from the local executable index.
IntersectToolexecutableindexed executableDiscovered from the local executable index.
MagneticFieldexecutableindexed executableDiscovered from the local executable index.
Planimeterexecutableindexed executableDiscovered from the local executable index.
RhumbSolveexecutableindexed executableDiscovered from the local executable index.
TransverseMercatorProjexecutableindexed executableDiscovered from the local executable index.
geographiclib-get-geoidsexecutableindexed executableDiscovered from the local executable index.
geographiclib-get-gravityexecutableindexed executableDiscovered from the local executable index.
geographiclib-get-magneticexecutableindexed executableDiscovered from the local executable index.

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-08-03
manager version2.7
manager updated
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:geographiclib
Version2.7
Package managerHomebrew
Homepagehttps://geographiclib.sourceforge.io/
Repositoryhttps://github.com/geographiclib/geographiclib
Bottlenot recorded
Servicenone declared

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

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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
dnf95%

GeographicLib-devel 2.7-4.fc45

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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
dnf95%

GeographicLib-doc 2.7-4.fc45

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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
dnf95%

mingw32-GeographicLib 2.7-4.fc45

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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
dnf95%

mingw64-GeographicLib 2.7-4.fc45

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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation