# Install g2o

General framework for graph optimization. Version 20241228 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:g2o
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install g2o
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install libg2o-dev
```

  Evidence: Debian stable package indexes: libg2o-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#g2o
```

  Evidence: nixpkgs package indexes: pkgs/by-name/g2/g2o/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package Facts

- **Package key:** brew:g2o
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/g2o>
- **Version:** 20241228
- **Source summary:** General framework for graph optimization
- **Homepage:** <https://openslam-org.github.io/g2o.html>
- **Repository:** <https://github.com/RainerKuemmerle/g2o>
- **Upstream docs:** <https://github.com/RainerKuemmerle/g2o#readme>
- **License:** BSD-2-Clause
- **Source archive:** <https://github.com/RainerKuemmerle/g2o/archive/refs/tags/20241228_git.tar.gz>
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- g2o (cli)
- g2o_simulator2d (cli)
- g2o_simulator3d (cli)
- g2o (alias)
- g2o_simulator2d (alias)
- g2o_simulator3d (alias)

## Dependencies

- eigen

## Build Dependencies

- cmake

## Install Behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sequoia, sonoma, tahoe, x86_64_linux

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 20241228
- Local data status: ok
- Upstream repository: https://github.com/RainerKuemmerle/g2o
- info: No package-manager update timestamp was available.
- info: No cached GitHub release or tag data was available.

## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **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:** stable

## Other Package-Manager Records

- Debian apt - libg2o-dev - 0~20230806-4.1+b2: normalized package name match | Debian stable package indexes: libg2o-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | C++ framework for optimizing graph-based nonlinear error functions | http://www.g2o.org
- Debian apt - libg2o-doc - 0~20230806-4.1: normalized package name match | Debian stable package indexes: libg2o-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | C++ framework for optimizing graph-based nonlinear error functions | http://www.g2o.org
- Debian apt - libg2o0t64 - 0~20230806-4.1+b2: normalized package name match | Debian stable package indexes: libg2o0t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | C++ framework for optimizing graph-based nonlinear error functions | http://www.g2o.org
- Nix - g2o: normalized package name match | nixpkgs package indexes: pkgs/by-name/g2/g2o/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libg2o-dev - 0~20230806-4.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libg2o-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | C++ framework for optimizing graph-based nonlinear error functions | http://www.g2o.org
- Ubuntu apt - libg2o-doc - 0~20230806-4.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libg2o-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | C++ framework for optimizing graph-based nonlinear error functions | http://www.g2o.org
- Ubuntu apt - libg2o0t64 - 0~20230806-4.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libg2o0t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | C++ framework for optimizing graph-based nonlinear error functions | http://www.g2o.org


## Related Links

- [Source-control packages](https://www.automicvault.com/de/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/de/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/de/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Scientific computing packages](https://www.automicvault.com/de/pkg/scientific-computing-tools/) - Matched scientific computing metadata.
- [cmake](https://www.automicvault.com/de/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [rtabmap](https://www.automicvault.com/de/pkg/brew/rtabmap/) - Popular package that depends on this formula.
- [visp](https://www.automicvault.com/de/pkg/brew/visp/) - Shares av.db curated category or tags: c-plus-plus, cli, computer-vision, robotics, science.
- [clp](https://www.automicvault.com/de/pkg/brew/clp/) - Shares av.db curated category or tags: c-plus-plus, cli, optimization, science.
- [papilo](https://www.automicvault.com/de/pkg/brew/papilo/) - Shares av.db curated category or tags: c-plus-plus, cli, optimization, science.
- [ipopt](https://www.automicvault.com/de/pkg/brew/ipopt/) - Shares av.db curated category or tags: cli, optimization, science.
- [octomap](https://www.automicvault.com/de/pkg/brew/octomap/) - Shares av.db curated category or tags: cli, robotics, science.
- [glpk](https://www.automicvault.com/de/pkg/brew/glpk/) - Shares av.db curated category or tags: cli, optimization, science.
- [scip](https://www.automicvault.com/de/pkg/brew/scip/) - Shares av.db curated category or tags: cli, optimization, science.
- [opencv](https://www.automicvault.com/de/pkg/brew/opencv/) - Local package facts share a topical domain. Shared terms: c-plus-plus, cli, computer, computer-vision, eigen.

## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
