Automic VaultAutomic Vault

brew

g2o を Homebrew, Nix, apt でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install g2o

local Homebrew formula metadata

Linux

Nix確認済み · 92%
nix profile install nixpkgs#g2o

nixpkgs package indexes · pkgs/by-name/g2/g2o/package.nix · ソース: api.github.com

Debian apt確認済み · 92%
sudo apt install libg2o-dev

Debian stable package indexes · libg2o-dev · ソース: deb.debian.org

概要

パッケージ概要

General framework for graph optimization

コマンドとエイリアス

  • g2o
  • g2o_simulator2d
  • g2o_simulator3d

履歴

プロジェクトの歴史と使われ方

g2o is an open-source C++ framework for graph-based nonlinear optimization, best known in robotics and computer vision for simultaneous localization and mapping (SLAM) and bundle adjustment (BA) problems.

プロジェクトの歴史

The project was presented by Rainer Kuemmerle, Giorgio Grisetti, Hauke Strasdat, Kurt Konolige, and Wolfram Burgard as "g2o: A General Framework for Graph Optimization" at ICRA 2011. OpenSLAM described the hosted code as a stable release and pointed users to the GitHub repository for development code, including an improved Schur complement implementation and BSD relicensing.

The GitHub repository was created in January 2012 and describes g2o as a framework for optimizing graph-based nonlinear error functions. Its README documents CMake/Eigen-based builds, multiple command-line programs, and current support across Linux, macOS, Windows, and Android-related build flows.

採用の歴史

g2o entered package-manager culture because it packages a research-grade SLAM and bundle-adjustment optimizer as a reusable C++ library and CLI toolkit. The upstream README explicitly documents Homebrew installation, and the input package facts list Homebrew, Debian, Ubuntu, and Nix package names.

The project also attracted wrapper projects, including a Python binding published separately and a .NET wrapper, showing use beyond direct C++ embedding.

使われ方

Users model problems as graph nodes and edges and run g2o's optimizers on nonlinear least-squares graph formulations. Upstream examples and documentation emphasize SLAM, bundle adjustment, and text log formats containing node and edge messages.

Package users commonly install the library and tools, then link against g2o from robotics or computer-vision software, or use its command-line binaries such as g2o and the simulator tools.

パッケージ好きにとっての重要性

g2o is significant because it is a classic academic C++ optimizer that escaped paper-code status into long-lived distro packaging. It carries the usual package-maintainer wrinkles: optional SuiteSparse, Qt/libQGLViewer GUI pieces, mixed license notes for subcomponents, and ABI-sensitive C++ dependencies.

タイムライン

  • 2011: g2o paper published at IEEE ICRA.
  • 2012: Development repository created on GitHub.
  • 2010s: Packaged across Homebrew, Debian/Ubuntu, and Nix according to the supplied package facts.
  • 2020s: README documents cross-platform CI/build support and related Python/.NET wrapper projects.

Related projects

  • OpenSLAM hosted the original project page and stable release information.
  • g2o-python provides separately packaged Python bindings.
  • The README also points to a .NET wrapper for g2o.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 8 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
g2ocliグローバル実行可能ファイル
g2o_simulator2dcliグローバル実行可能ファイル
g2o_simulator3dcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-26
マネージャ版20241228
マネージャ更新日2026-06-25
ローカルデータOK
上流not checked
検出された最新未検出

https://github.com/RainerKuemmerle/g2o

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:g2o
バージョン20241228
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/g2o
ホームページhttps://openslam-org.github.io/g2o.html
リポジトリhttps://github.com/RainerKuemmerle/g2o
上流ドキュメントhttps://github.com/RainerKuemmerle/g2o#readme
ライセンスBSD-2-Clause
ソースアーカイブhttps://github.com/RainerKuemmerle/g2o/archive/refs/tags/20241228_git.tar.gz
最終更新2026-06-25T13:37:41+02:00
Pulseupdated
依存関係eigen
ビルド依存関係cmake
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

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

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

libg2o-dev 0~20230806-4.1+b2

C++ framework for optimizing graph-based nonlinear error functions

http://www.g2o.org

sudo apt install libg2o-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: g2o
  • 3 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: G2o
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libg2o-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libg2o-doc 0~20230806-4.1

C++ framework for optimizing graph-based nonlinear error functions

http://www.g2o.org

sudo apt install libg2o-doc
  • Section: doc
  • Architecture: all
  • Source Package: g2o
  • normalized package name match
  • 一致条件: G2o
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libg2o-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libg2o0t64 0~20230806-4.1+b2

C++ framework for optimizing graph-based nonlinear error functions

http://www.g2o.org

sudo apt install libg2o0t64
  • Section: libs
  • Architecture: amd64
  • Source Package: g2o
  • 9 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: G2o
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libg2o0t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

g2o

nix profile install nixpkgs#g2o
  • normalized package name match
  • 一致条件: G2o
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/g2/g2o/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libg2o-dev 0~20230806-4.1build1

C++ framework for optimizing graph-based nonlinear error functions

http://www.g2o.org

sudo apt install libg2o-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: g2o
  • 3 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: G2o
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libg2o-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libg2o-doc 0~20230806-4.1build1

C++ framework for optimizing graph-based nonlinear error functions

http://www.g2o.org

sudo apt install libg2o-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: g2o
  • normalized package name match
  • 一致条件: G2o
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libg2o-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libg2o0t64 0~20230806-4.1build1

C++ framework for optimizing graph-based nonlinear error functions

http://www.g2o.org

sudo apt install libg2o0t64
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: g2o
  • 9 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: G2o
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libg2o0t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • 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