# Install osinfo-db-tools with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Tools for managing the libosinfo database files. Version 1.12.0 via Homebrew; verified 2026-04-20.

## Install

```sh
sudo av install brew:osinfo-db-tools
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install osinfo-db-tools
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install osinfo-db-tools
```

  Evidence: MacPorts ports tree: sysutils/osinfo-db-tools/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add osinfo-db-tools
```

  Evidence: Alpine Linux edge package indexes: osinfo-db-tools from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install osinfo-db-tools
```

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

- dnf (92%):

```sh
sudo dnf install mingw32-osinfo-db-tools
```

  Evidence: Fedora Rawhide package metadata: mingw32-osinfo-db-tools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#osinfo-db-tools
```

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

- pacman (92%):

```sh
sudo pacman -S osinfo-db-tools
```

  Evidence: Arch Linux sync databases: osinfo-db-tools from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install osinfo-db-tools
```

  Evidence: openSUSE Tumbleweed package metadata: osinfo-db-tools from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:osinfo-db-tools
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/osinfo-db-tools>
- **Version:** 1.12.0
- **Source summary:** Tools for managing the libosinfo database files
- **Homepage:** <https://libosinfo.org/>
- **Repository:** <https://gitlab.com/libosinfo/osinfo-db-tools>
- **Upstream docs:** <https://gitlab.com/libosinfo/osinfo-db-tools/-/blob/master/README>
- **License:** GPL-2.0-or-later
- **Source archive:** <https://releases.pagure.org/libosinfo/osinfo-db-tools-1.12.0.tar.xz>
- **Last updated:** 2026-04-20T08:48:41-04:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- osinfo-db-export (cli)
- osinfo-db-import (cli)
- osinfo-db-path (cli)
- osinfo-db-validate (cli)
- osinfo-db-export (alias)
- osinfo-db-import (alias)
- osinfo-db-path (alias)
- osinfo-db-validate (alias)

## Dependencies

- gettext
- glib
- json-glib
- libarchive
- libsoup

## Build dependencies

- gettext
- meson
- ninja
- pkgconf

## Uses from macOS

- libxml2

## Install behavior

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

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.12.0
- Package-manager updated: 2026-04-20
- Local data: ok
- Upstream repository: https://libosinfo.org/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

osinfo-db-tools is the command-line companion to the libosinfo operating-system information database. It supplies the small utilities that import, export, locate, and validate the XML database content used by virtualization and provisioning stacks.

### Project history

The upstream GitLab project was created on May 13, 2016. Its NEWS file describes version 1.0.0 as the first public release after the tools were split from libosinfo, separating database-management commands from the C library that queries the operating-system metadata.

Later releases are mostly maintenance-oriented infrastructure work: version 1.6.0 added libsoup-backed HTTP and HTTPS support to osinfo-db-import, version 1.7.0 switched the build system to Meson, and version 1.12.0 fixed memory leaks, runtime warnings in osinfo-db-export, libxml2 compatibility, CI, and translations.

### How it is used

Administrators and packagers use osinfo-db-import to install osinfo-db archives into system, local, or per-user database locations. The libosinfo download instructions explicitly place osinfo-db-tools before osinfo-db and libosinfo in the deployment order because the tools manage installation, bundling, and distribution of database files.

### Why package nerds care

The package is small, but it is the boring plumbing that lets osinfo-db ship as data while libosinfo ships as a library. Package maintainers care because it defines the host paths, archive handling, validation, and update workflow around a database consumed by virtualization software.

### Timeline

- 2016: osinfo-db-tools is split from libosinfo and published as its own GitLab project.
- 2019: version 1.7.0 switches to Meson.
- 2024: version 1.12.0 ships memory-leak fixes, libxml2 adaptation, CI work, and translation updates.

### Related projects

- osinfo-db contains the XML operating-system database; libosinfo provides the C/GObject library for querying that database. osinfo-db-tools sits between them as the packaging and administration layer.

### Sources

- <https://formulae.brew.sh/formula/osinfo-db-tools>
- <https://gitlab.com/api/v4/projects/libosinfo%2Fosinfo-db-tools>
- <https://gitlab.com/libosinfo/osinfo-db-tools/-/raw/main/NEWS>
- <https://gitlab.com/libosinfo/osinfo-db-tools/-/raw/main/README>
- <https://libosinfo.org/download.html>


## Security Notes

broad file, network, media, or database tool signal.

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** osinfo-db-tools
- **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 - osinfo-db-tools - 1.12.0-1: normalized package name match | Debian stable package indexes: osinfo-db-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | libosinfo database tools | https://libosinfo.org/
- Nix - osinfo-db-tools: normalized package name match | nixpkgs package indexes: pkgs/by-name/os/osinfo-db-tools/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - osinfo-db-tools - 1.11.0-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: osinfo-db-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | libosinfo database tools | https://libosinfo.org/
- apk - osinfo-db-tools - 1.12.0-r0: normalized package name match | Alpine Linux edge package indexes: osinfo-db-tools from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Tools for managing the osinfo database | https://libosinfo.org/
- apk - osinfo-db-tools-doc - 1.12.0-r0: normalized package name match | Alpine Linux edge package indexes: osinfo-db-tools-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Tools for managing the osinfo database (documentation) | https://libosinfo.org/
- apk - osinfo-db-tools-lang - 1.12.0-r0: normalized package name match | Alpine Linux edge package indexes: osinfo-db-tools-lang from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Languages for package osinfo-db-tools | https://libosinfo.org/
- dnf - mingw32-osinfo-db-tools - 1.12.0-8.fc45: normalized package name match | Fedora Rawhide package metadata: mingw32-osinfo-db-tools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Tools for managing the osinfo database | https://libosinfo.org
- dnf - mingw64-osinfo-db-tools - 1.12.0-8.fc45: normalized package name match | Fedora Rawhide package metadata: mingw64-osinfo-db-tools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Tools for managing the osinfo database | https://libosinfo.org
- dnf - osinfo-db-tools - 1.12.0-8.fc45: normalized package name match | Fedora Rawhide package metadata: osinfo-db-tools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Tools for managing the osinfo database | https://libosinfo.org
- pacman - osinfo-db-tools - 1.12.0-3: normalized package name match | Arch Linux sync databases: osinfo-db-tools from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Tools for managing the osinfo database | https://libosinfo.org/
- zypper - osinfo-db-tools - 1.12.0-2.4: normalized package name match | openSUSE Tumbleweed package metadata: osinfo-db-tools from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Tools for managing the osinfo database | https://releases.pagure.org/libosinfo/
- MacPorts - osinfo-db-tools: normalized package name match | MacPorts ports tree: sysutils/osinfo-db-tools/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Database and data packages](https://www.automicvault.com/pkg/database-data-tools/) - Matched database, SQL, migration, or data-store metadata.
- [gettext](https://www.automicvault.com/pkg/brew/gettext/) - Runtime dependency declared by Homebrew.
- [glib](https://www.automicvault.com/pkg/brew/glib/) - Runtime dependency declared by Homebrew.
- [json-glib](https://www.automicvault.com/pkg/brew/json-glib/) - Runtime dependency declared by Homebrew.
- [libarchive](https://www.automicvault.com/pkg/brew/libarchive/) - Runtime dependency declared by Homebrew.
- [meson](https://www.automicvault.com/pkg/brew/meson/) - Build dependency declared by Homebrew.
- [ninja](https://www.automicvault.com/pkg/brew/ninja/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [libosinfo](https://www.automicvault.com/pkg/brew/libosinfo/) - Shares the same upstream homepage.
- [lume](https://www.automicvault.com/pkg/brew/lume/) - Shares av.db curated category or tags: cli, system, virtualization.
- [nemu](https://www.automicvault.com/pkg/brew/nemu/) - Shares av.db curated category or tags: cli, system, virtualization.
- [qemu](https://www.automicvault.com/pkg/brew/qemu/) - Shares av.db curated category or tags: cli, system, virtualization.
- [virt-manager](https://www.automicvault.com/pkg/brew/virt-manager/) - Shares av.db curated category or tags: cli, system, virtualization.
- [vmdktool](https://www.automicvault.com/pkg/brew/vmdktool/) - Shares av.db curated category or tags: cli, system, virtualization.
- [lima](https://www.automicvault.com/pkg/brew/lima/) - Shares av.db curated category or tags: cli, system, virtualization.
- [rvvm](https://www.automicvault.com/pkg/brew/rvvm/) - Shares av.db curated category or tags: cli, system, virtualization.
- [appstream-glib](https://www.automicvault.com/pkg/brew/appstream-glib/) - Both packages work with overlapping file formats or content types. Shared terms: cli, gettext, glib, json, json-glib.

## Combined YAML source

View the package source record on GitHub. [combined/osinfo-db-tools.yml](https://github.com/automic-vault/db/blob/main/combined/osinfo-db-tools.yml)


## Sources

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