macOS
brew install libosinfolocal Homebrew formula metadata
sudo port install libosinfoMacPorts ports tree · sysutils/libosinfo/Portfile · ソース: api.github.com
brew
libosinfo のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install libosinfolocal Homebrew formula metadata
sudo port install libosinfoMacPorts ports tree · sysutils/libosinfo/Portfile · ソース: api.github.com
sudo apk add libosinfoAlpine Linux edge package indexes · libosinfo · ソース: dl-cdn.alpinelinux.org
sudo dnf install libosinfoFedora Rawhide package metadata · libosinfo · ソース: dl.fedoraproject.org
nix profile install nixpkgs#libosinfonixpkgs package indexes · pkgs/by-name/li/libosinfo/package.nix · ソース: api.github.com
sudo pacman -S libosinfoArch Linux sync databases · libosinfo · ソース: geo.mirror.pkgbuild.com
sudo zypper install libosinfoopenSUSE Tumbleweed package metadata · libosinfo · ソース: download.opensuse.org
sudo apt install gir1.2-libosinfo-1.0Debian stable package indexes · gir1.2-libosinfo-1.0 · ソース: deb.debian.org
概要
Operating System information database
履歴
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.
セキュリティ状態
broad file, network, media, or database tool signal.
リスク blue · 信頼度 中 · tool
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
osinfo-detect | cli | グローバル実行可能ファイル | |
osinfo-install-script | cli | グローバル実行可能ファイル | |
osinfo-query | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:libosinfo |
|---|---|
| バージョン | 1.12.0 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/libosinfo |
| ホームページ | https://libosinfo.org/ |
| リポジトリ | https://gitlab.com/libosinfo/libosinfo |
| 上流ドキュメント | https://libosinfo.org/ |
| ライセンス | LGPL-2.0-or-later |
| ソースアーカイブ | https://releases.pagure.org/libosinfo/libosinfo-1.12.0.tar.xz |
| 最終更新 | 2026-07-24T11:15:24Z |
| Pulse | updated |
| 依存関係 | gettext, glib, libsoup, osinfo-db, usb.ids |
| ビルド依存関係 | gettext, gobject-introspection, meson, ninja, pkgconf, vala |
| macOS 提供ライブラリ | libxml2, libxslt |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
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 libosinfoソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.