Automic VaultAutomic Vault

brew

使用 Homebrew, MacPorts, Nix, apt, dnf 安装 geographiclib

查看 geographiclib 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install geographiclib

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install geographiclib

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

Linux

Nix已验证 · 92%
nix profile install nixpkgs#geographiclib

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

Debian apt已验证 · 92%
sudo apt install geographiclib-doc

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

Fedora dnf已验证 · 92%
sudo dnf install GeographicLib

Fedora Rawhide package metadata · GeographicLib · 来源: dl.fedoraproject.org

概览

软件包摘要

C++ geography library

命令和别名

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

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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

为什么软件包爱好者会关心

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.

时间线

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

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
Cart3Convertcli全局可执行文件
CartConvertcli全局可执行文件
Conformal3Projcli全局可执行文件
ConicProjcli全局可执行文件
GeoConvertcli全局可执行文件
Geod3Solvecli全局可执行文件
GeodSolvecli全局可执行文件
GeodesicProjcli全局可执行文件
GeoidEvalcli全局可执行文件
Gravitycli全局可执行文件
IntersectToolcli全局可执行文件
MagneticFieldcli全局可执行文件
Planimetercli全局可执行文件
RhumbSolvecli全局可执行文件
TransverseMercatorProjcli全局可执行文件
geographiclib-get-geoidscli全局可执行文件
geographiclib-get-gravitycli全局可执行文件
geographiclib-get-magneticcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本2.7
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/geographiclib/geographiclib

安装元数据

软件包元数据

软件包键brew:geographiclib
版本2.7
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/geographiclib
主页https://geographiclib.sourceforge.io/
仓库https://github.com/geographiclib/geographiclib
上游文档https://geographiclib.sourceforge.io/
许可证MIT
源码归档https://github.com/geographiclib/geographiclib/archive/refs/tags/r2.7.tar.gz
构建依赖cmake
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 3 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 3 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式: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 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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