macOS
brew install g2olocal Homebrew formula metadata
安装
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来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.