Automic VaultAutomic Vault

brew

Install libosinfo with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Operating System information database. Version 1.12.0 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install libosinfo

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install libosinfo

MacPorts ports tree · sysutils/libosinfo/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add libosinfo

Alpine Linux edge package indexes · libosinfo · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install gir1.2-libosinfo-1.0

Debian stable package indexes · gir1.2-libosinfo-1.0 · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install libosinfo

Fedora Rawhide package metadata · libosinfo · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#libosinfo

nixpkgs package indexes · pkgs/by-name/li/libosinfo/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S libosinfo

Arch Linux sync databases · libosinfo · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install libosinfo

openSUSE Tumbleweed package metadata · libosinfo · source: download.opensuse.org

overview

Package summary

Operating System information database

Commands and aliases

  • osinfo-detect
  • osinfo-install-script
  • osinfo-query

history

Project history and usage

libosinfo is the C/GObject library in the libosinfo family: a shared database, API, and set of command-line tools for describing guest operating systems, hypervisors, virtual hardware, install media, and installation resources used by virtualization provisioning tools.

Project history

The project published its first public libosinfo tag in October 2011, after establishing a model in which operating-system facts live in a common XML database and applications query them through a reusable library rather than carrying their own detection tables. The official site describes the project as three cooperating parts: metadata database, GObject API, and query/extraction tools.

By 2016 the project had formalized adjacent pieces such as osinfo-db-tools for importing, exporting, validating, and packaging the database files, and libosinfo 1.0.0 was tagged in October 2016. Later releases continued the steady maintenance pattern expected from low-level virtualization infrastructure: translation updates, build-system work, memory fixes, and compatibility with XML library changes.

Adoption history

libosinfo became useful wherever virtual-machine front ends need to choose sane defaults for a guest: identifying ISO media, mapping an OS to supported virtual devices, finding install trees, and generating unattended-install scripts. Its value is strongest in Linux virtualization stacks because multiple applications can share the same operating-system knowledge instead of each shipping stale lists.

How it is used

Packagers usually split the ecosystem into libosinfo, osinfo-db, and osinfo-db-tools. The library is consumed by programs through the C API or GObject Introspection bindings, while users and maintainers interact with tools such as osinfo-query, osinfo-detect, osinfo-install-script, and osinfo-db-import.

Why package nerds care

For package maintainers, libosinfo is a classic data-versus-code package: the library changes slowly, but the OS database needs frequent updates as distributions, Windows releases, and install media change. That split explains why package freshness can visibly affect VM creation dialogs and automated provisioning even when the hypervisor itself is working.

Timeline

  • 2011: libosinfo v0.0.1 was tagged as the first public release.
  • 2016: osinfo-db-tools was created for managing libosinfo database files.
  • 2016: libosinfo v1.0.0 was tagged.
  • 2024: libosinfo 1.12.0 and osinfo-db-tools 1.12.0 release notes listed maintenance fixes, CI work, and translation updates.

Related projects

  • osinfo-db supplies the XML operating-system data consumed by libosinfo.
  • osinfo-db-tools provides import, export, validation, and packaging tools for the database.
  • libvirt and desktop virtualization front ends are the natural consumers of the metadata model because they need OS-aware guest defaults.

security posture

Risk level: blue

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

Risk classifier

blue risk · medium confidence · tool

Why

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

Signals

  • text:database

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 5 runtime dependencies.
  • Build metadata lists 6 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
osinfo-detectcliglobal executable
osinfo-install-scriptcliglobal executable
osinfo-querycliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.12.0
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://libosinfo.org/

  • infoNo package-manager update timestamp was available.low confidence
  • infoRelease/tag comparison is only available for GitHub repositories.https://libosinfo.org/none confidence

install metadata

Package metadata

Package keybrew:libosinfo
Version1.12.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/libosinfo
Homepagehttps://libosinfo.org/
Repositoryhttps://gitlab.com/libosinfo/libosinfo
Upstream docshttps://libosinfo.org/
LicenseLGPL-2.0-or-later
Source archivehttps://releases.pagure.org/libosinfo/libosinfo-1.12.0.tar.xz
Dependenciesgettext, glib, libsoup, osinfo-db, usb.ids
Build dependenciesgettext, gobject-introspection, meson, ninja, pkgconf, vala
Uses from macOSlibxml2, libxslt
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

gir1.2-libosinfo-1.0 1.12.0-2

GObject introspection data for libosinfo

https://libosinfo.org/

sudo apt install gir1.2-libosinfo-1.0
  • Section: introspection
  • Architecture: amd64
  • Source Package: libosinfo
  • 4 dependencies
  • normalized package name match
  • Matched by: Libosinfo
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gir1.2-libosinfo-1.0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libosinfo-1.0-0 1.12.0-2

Library for managing information about operating systems and hypervisors

https://libosinfo.org/

sudo apt install libosinfo-1.0-0
  • Section: libs
  • Architecture: amd64
  • Source Package: libosinfo
  • 10 dependencies
  • normalized package name match
  • Matched by: Libosinfo
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libosinfo-1.0-0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libosinfo-1.0-dev 1.12.0-2

libosinfo development files

https://libosinfo.org/

sudo apt install libosinfo-1.0-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libosinfo
  • 3 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libosinfo
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libosinfo-1.0-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libosinfo-bin 1.12.0-2

Tools for querying the osinfo database via libosinfo

https://libosinfo.org/

sudo apt install libosinfo-bin
  • Section: libs
  • Architecture: amd64
  • Source Package: libosinfo
  • 4 dependencies
  • normalized package name match
  • Matched by: Libosinfo
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libosinfo-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libosinfo-l10n 1.12.0-2

Translations for libosinfo

https://libosinfo.org/

sudo apt install libosinfo-l10n
  • Section: localization
  • Architecture: all
  • Source Package: libosinfo
  • normalized package name match
  • Matched by: Libosinfo
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libosinfo-l10n from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

libosinfo

nix profile install nixpkgs#libosinfo
  • normalized package name match
  • Matched by: Libosinfo
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/li/libosinfo/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

gir1.2-libosinfo-1.0 1.11.0-2build3

GObject introspection data for libosinfo

https://libosinfo.org/

sudo apt install gir1.2-libosinfo-1.0
  • Section: universe/introspection
  • Architecture: amd64
  • Source Package: libosinfo
  • 4 dependencies
  • normalized package name match
  • Matched by: Libosinfo
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gir1.2-libosinfo-1.0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libosinfo-1.0-0 1.11.0-2build3

Library for managing information about operating systems and hypervisors

https://libosinfo.org/

sudo apt install libosinfo-1.0-0
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: libosinfo
  • 10 dependencies
  • normalized package name match
  • Matched by: Libosinfo
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libosinfo-1.0-0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libosinfo-1.0-dev 1.11.0-2build3

libosinfo development files

https://libosinfo.org/

sudo apt install libosinfo-1.0-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: libosinfo
  • 3 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libosinfo
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libosinfo-1.0-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libosinfo-bin 1.11.0-2build3

Tools for querying the osinfo database via libosinfo

https://libosinfo.org/

sudo apt install libosinfo-bin
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: libosinfo
  • 3 dependencies
  • normalized package name match
  • Matched by: Libosinfo
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libosinfo-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libosinfo-l10n 1.11.0-2build3

Translations for libosinfo

https://libosinfo.org/

sudo apt install libosinfo-l10n
  • Section: universe/libs
  • Architecture: all
  • Source Package: libosinfo
  • normalized package name match
  • Matched by: Libosinfo
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libosinfo-l10n from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

libosinfo 1.12.0-r0

library for managing OS information for virtualization

https://libosinfo.org/

sudo apk add libosinfo
  • License: LGPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: libosinfo
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libosinfo
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libosinfo from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

libosinfo-dev 1.12.0-r0

library for managing OS information for virtualization (development files)

https://libosinfo.org/

sudo apk add libosinfo-dev
  • License: LGPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: libosinfo
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libosinfo
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libosinfo-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

libosinfo-doc 1.12.0-r0

library for managing OS information for virtualization (documentation)

https://libosinfo.org/

sudo apk add libosinfo-doc
  • License: LGPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: libosinfo
  • normalized package name match
  • Matched by: Libosinfo
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libosinfo-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

libosinfo-lang 1.12.0-r0

Languages for package libosinfo

https://libosinfo.org/

sudo apk add libosinfo-lang
  • License: LGPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: libosinfo
  • normalized package name match
  • Matched by: Libosinfo
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libosinfo-lang from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

libosinfo 1.12.0-9.fc45

A library for managing OS information for virtualization

https://libosinfo.org/

sudo dnf install libosinfo
  • License: LGPL-2.1-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libosinfo
  • 13 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Libosinfo
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libosinfo from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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