macOS
brew install g2olocal Homebrew formula metadata
brew
g2o のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install g2olocal Homebrew formula metadata
nix profile install nixpkgs#g2onixpkgs package indexes · pkgs/by-name/g2/g2o/package.nix · ソース: api.github.com
sudo apt install libg2o-devDebian stable package indexes · libg2o-dev · ソース: deb.debian.org
概要
General framework for graph optimization
履歴
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.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
g2o | cli | グローバル実行可能ファイル | |
g2o_simulator2d | cli | グローバル実行可能ファイル | |
g2o_simulator3d | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
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 |
| Pulse | updated |
| 依存関係 | eigen |
| ビルド依存関係 | cmake |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | g2o |
| Version Scheme | 0 |
| Revision | 1 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
libg2o-dev 0~20230806-4.1+b2
C++ framework for optimizing graph-based nonlinear error functions
sudo apt install libg2o-devlibg2o-doc 0~20230806-4.1
C++ framework for optimizing graph-based nonlinear error functions
sudo apt install libg2o-doclibg2o0t64 0~20230806-4.1+b2
C++ framework for optimizing graph-based nonlinear error functions
sudo apt install libg2o0t64g2o
nix profile install nixpkgs#g2olibg2o-dev 0~20230806-4.1build1
C++ framework for optimizing graph-based nonlinear error functions
sudo apt install libg2o-devlibg2o-doc 0~20230806-4.1build1
C++ framework for optimizing graph-based nonlinear error functions
sudo apt install libg2o-doclibg2o0t64 0~20230806-4.1build1
C++ framework for optimizing graph-based nonlinear error functions
sudo apt install libg2o0t64ソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.