# libosinfo を Homebrew, apk, dnf, MacPorts, Nix, pacman, zypper, apt でインストール

libosinfo のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:libosinfo
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install libosinfo
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libosinfo
```

  証拠: MacPorts ports tree: sysutils/libosinfo/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add libosinfo
```

  証拠: Alpine Linux edge package indexes: libosinfo from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install libosinfo
```

  証拠: Fedora Rawhide package metadata: libosinfo from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#libosinfo
```

  証拠: nixpkgs package indexes: pkgs/by-name/li/libosinfo/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S libosinfo
```

  証拠: Arch Linux sync databases: libosinfo from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install libosinfo
```

  証拠: openSUSE Tumbleweed package metadata: libosinfo from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

- Debian apt (92%):

```sh
sudo apt install gir1.2-libosinfo-1.0
```

  証拠: Debian stable package indexes: gir1.2-libosinfo-1.0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## パッケージ情報

- **パッケージキー:** brew:libosinfo
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/libosinfo>
- **バージョン:** 1.12.0
- **ソース概要:** Operating System information database
- **ホームページ:** <https://libosinfo.org/>
- **上流ドキュメント:** <https://libosinfo.org/>
- **ライセンス:** LGPL-2.0-or-later
- **ソースアーカイブ:** <https://releases.pagure.org/libosinfo/libosinfo-1.12.0.tar.xz>
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- osinfo-detect (cli)
- osinfo-install-script (cli)
- osinfo-query (cli)
- osinfo-detect (エイリアス)
- osinfo-install-script (エイリアス)
- osinfo-query (エイリアス)

## 依存関係

- gettext
- glib
- libsoup
- osinfo-db
- usb.ids

## ビルド依存関係

- gettext
- gobject-introspection
- meson
- ninja
- pkgconf
- vala

## macOS 提供ライブラリ

- libxml2
- libxslt

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 1.12.0
- ローカルデータ: OK
- 上流リポジトリ: https://libosinfo.org/
- 情報: No package-manager update timestamp was available.
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

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.

### タイムライン

- 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.

### ソース

- <https://gitlab.com/libosinfo/libosinfo/-/tags>
- <https://gitlab.com/libosinfo/libosinfo/-/tags?page=2>
- <https://gitlab.com/libosinfo/osinfo-db-tools>
- <https://libosinfo.org/>
- <https://libosinfo.org/download.html>


## セキュリティノート

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

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal

## ソースデータベース詳細

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

## 他のパッケージマネージャ記録

- Debian apt - gir1.2-libosinfo-1.0 - 1.12.0-2: normalized package name match | Debian stable package indexes: gir1.2-libosinfo-1.0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GObject introspection data for libosinfo | https://libosinfo.org/
- Debian apt - libosinfo-1.0-0 - 1.12.0-2: normalized package name match | Debian stable package indexes: libosinfo-1.0-0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Library for managing information about operating systems and hypervisors | https://libosinfo.org/
- Debian apt - libosinfo-1.0-dev - 1.12.0-2: normalized package name match | Debian stable package indexes: libosinfo-1.0-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | libosinfo development files | https://libosinfo.org/
- Debian apt - libosinfo-bin - 1.12.0-2: normalized package name match | Debian stable package indexes: libosinfo-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Tools for querying the osinfo database via libosinfo | https://libosinfo.org/
- Debian apt - libosinfo-l10n - 1.12.0-2: normalized package name match | Debian stable package indexes: libosinfo-l10n from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Translations for libosinfo | https://libosinfo.org/
- Nix - libosinfo: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libosinfo/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - gir1.2-libosinfo-1.0 - 1.11.0-2build3: normalized package name match | Ubuntu 24.04 LTS package indexes: gir1.2-libosinfo-1.0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GObject introspection data for libosinfo | https://libosinfo.org/
- Ubuntu apt - libosinfo-1.0-0 - 1.11.0-2build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libosinfo-1.0-0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Library for managing information about operating systems and hypervisors | https://libosinfo.org/
- Ubuntu apt - libosinfo-1.0-dev - 1.11.0-2build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libosinfo-1.0-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | libosinfo development files | https://libosinfo.org/
- Ubuntu apt - libosinfo-bin - 1.11.0-2build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libosinfo-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Tools for querying the osinfo database via libosinfo | https://libosinfo.org/
- Ubuntu apt - libosinfo-l10n - 1.11.0-2build3: normalized package name match | Ubuntu 24.04 LTS package indexes: libosinfo-l10n from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Translations for libosinfo | https://libosinfo.org/
- apk - libosinfo - 1.12.0-r0: normalized package name match | Alpine Linux edge package indexes: libosinfo from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | library for managing OS information for virtualization | https://libosinfo.org/
- apk - libosinfo-dev - 1.12.0-r0: normalized package name match | Alpine Linux edge package indexes: libosinfo-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | library for managing OS information for virtualization (development files) | https://libosinfo.org/
- apk - libosinfo-doc - 1.12.0-r0: normalized package name match | Alpine Linux edge package indexes: libosinfo-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | library for managing OS information for virtualization (documentation) | https://libosinfo.org/
- apk - libosinfo-lang - 1.12.0-r0: normalized package name match | Alpine Linux edge package indexes: libosinfo-lang from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Languages for package libosinfo | https://libosinfo.org/
- dnf - libosinfo - 1.12.0-10.fc45: normalized package name match | Fedora Rawhide package metadata: libosinfo from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | A library for managing OS information for virtualization | https://libosinfo.org/


## 関連リンク

- [Secret-risk packages](https://pkg.so/ja/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Database and data packages](https://pkg.so/ja/database-data-tools/) - Matched database, SQL, migration, or data-store metadata.
- [glib](https://pkg.so/ja/brew/glib/) - Runtime dependency declared by Homebrew.
- [gettext](https://pkg.so/ja/brew/gettext/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/ja/brew/pkgconf/) - Build dependency declared by Homebrew.
- [ninja](https://pkg.so/ja/brew/ninja/) - Build dependency declared by Homebrew.
- [meson](https://pkg.so/ja/brew/meson/) - Build dependency declared by Homebrew.
- [virt-manager](https://pkg.so/ja/brew/virt-manager/) - Popular package that depends on this formula.
- [osinfo-db-tools](https://pkg.so/ja/brew/osinfo-db-tools/) - Shares the same upstream homepage.
- [qemu](https://pkg.so/ja/brew/qemu/) - Shares pkgdb curated category or tags: cli, system, virtualization.
- [lume](https://pkg.so/ja/brew/lume/) - Shares pkgdb curated category or tags: cli, system, virtualization.
- [nemu](https://pkg.so/ja/brew/nemu/) - Shares pkgdb curated category or tags: cli, system, virtualization.
- [lima](https://pkg.so/ja/brew/lima/) - Shares pkgdb curated category or tags: cli, system, virtualization.
- [rvvm](https://pkg.so/ja/brew/rvvm/) - Shares pkgdb curated category or tags: cli, system, virtualization.
- [libxmlb](https://pkg.so/ja/brew/libxmlb/) - Shares pkgdb curated category or tags: cli, metadata, system.
- [appstream](https://pkg.so/ja/brew/appstream/) - Shares pkgdb curated category or tags: cli, metadata, system.
- [i686-elf-grub](https://pkg.so/ja/brew/i686-elf-grub/) - Local package facts share a topical domain. Shared terms: cli, gettext, operating, operating-systems, script.

## Combined YAML source

View the package source record on GitHub. [combined/libosinfo.yml](https://github.com/mxcl/pkgdb/blob/main/combined/libosinfo.yml)


## ソース

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