# geographiclib を Homebrew, MacPorts, Nix, apt, dnf でインストール

geographiclib のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:geographiclib
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install geographiclib
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install geographiclib
```

  証拠: MacPorts ports tree: gis/geographiclib/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#geographiclib
```

  証拠: nixpkgs package indexes: pkgs/by-name/ge/geographiclib/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- Debian apt (92%):

```sh
sudo apt install geographiclib-doc
```

  証拠: Debian stable package indexes: geographiclib-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install GeographicLib
```

  証拠: Fedora Rawhide package metadata: GeographicLib from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:geographiclib
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2.7
- **ソース概要:** C++ geography library
- **ホームページ:** <https://geographiclib.sourceforge.io/>
- **リポジトリ:** <https://github.com/geographiclib/geographiclib>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- Cart3Convert (エイリアス)
- CartConvert (エイリアス)
- Conformal3Proj (エイリアス)
- ConicProj (エイリアス)
- GeoConvert (エイリアス)
- Geod3Solve (エイリアス)
- GeodSolve (エイリアス)
- GeodesicProj (エイリアス)
- GeoidEval (エイリアス)
- Gravity (エイリアス)
- IntersectTool (エイリアス)
- MagneticField (エイリアス)
- Planimeter (エイリアス)
- RhumbSolve (エイリアス)
- TransverseMercatorProj (エイリアス)
- geographiclib-get-geoids (エイリアス)
- geographiclib-get-gravity (エイリアス)
- geographiclib-get-magnetic (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 2.7
## プロジェクトの歴史と使われ方

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.

### ソース

- <https://geographiclib.sourceforge.io/>
- <https://geographiclib.sourceforge.io/C++/doc/index.html>
- <https://geographiclib.sourceforge.io/doc/library.html>
- <https://github.com/geographiclib/geographiclib>


## セキュリティノート

library-like package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- library-like package without higher-risk signals

## 他のパッケージマネージャ記録

- Debian apt - geographiclib-doc - 2.5-1: normalized package name match | Debian stable package indexes: geographiclib-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | C++ library to solve some geodesic problems -- documentation | https://geographiclib.sourceforge.io/
- Debian apt - geographiclib-tools - 2.5-1: normalized package name match | Debian stable package indexes: geographiclib-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | C++ library to solve some geodesic problems -- tools | https://geographiclib.sourceforge.io/
- Debian apt - libgeographiclib-dev - 2.5-1: normalized package name match | Debian stable package indexes: libgeographiclib-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | C++ library to solve some geodesic problems -- development files | https://geographiclib.sourceforge.io/
- Debian apt - libgeographiclib26 - 2.5-1: normalized package name match | Debian stable package indexes: libgeographiclib26 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | C++ library to solve some geodesic problems -- library | https://geographiclib.sourceforge.io/
- Nix - geographiclib: normalized package name match | nixpkgs package indexes: pkgs/by-name/ge/geographiclib/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - geographiclib-doc - 2.3-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: geographiclib-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | C++ library to solve some geodesic problems -- documentation | https://geographiclib.sourceforge.io/
- Ubuntu apt - geographiclib-tools - 2.3-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: geographiclib-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | C++ library to solve some geodesic problems -- tools | https://geographiclib.sourceforge.io/
- Ubuntu apt - libgeographiclib-dev - 2.3-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libgeographiclib-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | C++ library to solve some geodesic problems -- development files | https://geographiclib.sourceforge.io/
- Ubuntu apt - libgeographiclib26 - 2.3-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libgeographiclib26 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | C++ library to solve some geodesic problems -- library | https://geographiclib.sourceforge.io/
- dnf - GeographicLib - 2.7-4.fc45: normalized package name match | Fedora Rawhide package metadata: GeographicLib from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Library for geographic coordinate transformations | https://github.com/geographiclib/geographiclib
- dnf - GeographicLib-devel - 2.7-4.fc45: normalized package name match | 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 | Development files and libraries for GeographicLib | https://github.com/geographiclib/geographiclib
- dnf - GeographicLib-doc - 2.7-4.fc45: normalized package name match | 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 | Development documentation for GeographicLib | https://github.com/geographiclib/geographiclib
- dnf - mingw32-GeographicLib - 2.7-4.fc45: normalized package name match | 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 | MinGW Windows GeographicLib library | https://github.com/geographiclib/geographiclib
- dnf - mingw64-GeographicLib - 2.7-4.fc45: normalized package name match | 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 | MinGW Windows GeographicLib library | https://github.com/geographiclib/geographiclib
- MacPorts - geographiclib: normalized package name match | MacPorts ports tree: gis/geographiclib/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- MacPorts - gravity: installed executable or alias match | MacPorts ports tree: lang/gravity/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/geographiclib.yml](https://github.com/mxcl/pkgdb/blob/main/combined/geographiclib.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
