macOS
brew install libosinfolocal Homebrew formula metadata
sudo port install libosinfoMacPorts ports tree · sysutils/libosinfo/Portfile · source: api.github.com
brew
Operating System information database. Version 1.12.0 via Homebrew; verified from local package data.
install
brew install libosinfolocal Homebrew formula metadata
sudo port install libosinfoMacPorts ports tree · sysutils/libosinfo/Portfile · source: api.github.com
sudo apk add libosinfoAlpine Linux edge package indexes · libosinfo · source: dl-cdn.alpinelinux.org
sudo apt install gir1.2-libosinfo-1.0Debian stable package indexes · gir1.2-libosinfo-1.0 · source: deb.debian.org
sudo dnf install libosinfoFedora Rawhide package metadata · libosinfo · source: dl.fedoraproject.org
nix profile install nixpkgs#libosinfonixpkgs package indexes · pkgs/by-name/li/libosinfo/package.nix · source: api.github.com
sudo pacman -S libosinfoArch Linux sync databases · libosinfo · source: geo.mirror.pkgbuild.com
sudo zypper install libosinfoopenSUSE Tumbleweed package metadata · libosinfo · source: download.opensuse.org
overview
Operating System information database
history
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.
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.
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.
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.
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.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
osinfo-detect | cli | global executable | |
osinfo-install-script | cli | global executable | |
osinfo-query | cli | global executable |
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.
install metadata
| Package key | brew:libosinfo |
|---|---|
| Version | 1.12.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/libosinfo |
| Homepage | https://libosinfo.org/ |
| Repository | https://gitlab.com/libosinfo/libosinfo |
| Upstream docs | https://libosinfo.org/ |
| License | LGPL-2.0-or-later |
| Source archive | https://releases.pagure.org/libosinfo/libosinfo-1.12.0.tar.xz |
| Dependencies | gettext, glib, libsoup, osinfo-db, usb.ids |
| Build dependencies | gettext, gobject-introspection, meson, ninja, pkgconf, vala |
| Uses from macOS | libxml2, libxslt |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libosinfo |
| Version Scheme | 0 |
| Revision | 1 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
gir1.2-libosinfo-1.0 1.12.0-2
GObject introspection data for libosinfo
sudo apt install gir1.2-libosinfo-1.0libosinfo-1.0-0 1.12.0-2
Library for managing information about operating systems and hypervisors
sudo apt install libosinfo-1.0-0libosinfo-1.0-dev 1.12.0-2
libosinfo development files
sudo apt install libosinfo-1.0-devlibosinfo-bin 1.12.0-2
Tools for querying the osinfo database via libosinfo
sudo apt install libosinfo-binlibosinfo-l10n 1.12.0-2
Translations for libosinfo
sudo apt install libosinfo-l10nlibosinfo
nix profile install nixpkgs#libosinfogir1.2-libosinfo-1.0 1.11.0-2build3
GObject introspection data for libosinfo
sudo apt install gir1.2-libosinfo-1.0libosinfo-1.0-0 1.11.0-2build3
Library for managing information about operating systems and hypervisors
sudo apt install libosinfo-1.0-0libosinfo-1.0-dev 1.11.0-2build3
libosinfo development files
sudo apt install libosinfo-1.0-devlibosinfo-bin 1.11.0-2build3
Tools for querying the osinfo database via libosinfo
sudo apt install libosinfo-binlibosinfo-l10n 1.11.0-2build3
Translations for libosinfo
sudo apt install libosinfo-l10nlibosinfo 1.12.0-r0
library for managing OS information for virtualization
sudo apk add libosinfolibosinfo-dev 1.12.0-r0
library for managing OS information for virtualization (development files)
sudo apk add libosinfo-devlibosinfo-doc 1.12.0-r0
library for managing OS information for virtualization (documentation)
sudo apk add libosinfo-doclibosinfo-lang 1.12.0-r0
Languages for package libosinfo
sudo apk add libosinfo-langlibosinfo 1.12.0-9.fc45
A library for managing OS information for virtualization
sudo dnf install libosinfosource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.