pkg.soopen package index

brew / 排名 2360

使用 Homebrew, apk, dnf, MacPorts, Nix, pacman, zypper, apt 安装 libosinfo

查看 libosinfo 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install libosinfo

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install libosinfo

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

Linux

Alpine Linux apk已验证 · 92%
sudo apk add libosinfo

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

Fedora dnf已验证 · 92%
sudo dnf install libosinfo

Fedora Rawhide package metadata · libosinfo · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#libosinfo

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

Arch Linux pacman已验证 · 92%
sudo pacman -S libosinfo

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

openSUSE zypper已验证 · 92%
sudo zypper install libosinfo

openSUSE Tumbleweed package metadata · libosinfo · 来源: download.opensuse.org

Debian apt已验证 · 92%
sudo apt install gir1.2-libosinfo-1.0

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

概览

软件包摘要

Operating System information database

命令和别名

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

历史

项目历史与用法

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.

安全态势

风险级别:blue

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

风险分类器

blue 风险 · 中 置信度 · tool

原因

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

信号

  • text:database

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
osinfo-detect可执行文件已索引可执行文件从本地可执行文件索引发现。
osinfo-install-script可执行文件已索引可执行文件从本地可执行文件索引发现。
osinfo-query可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本1.12.0
管理器更新时间
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:libosinfo
版本1.12.0
软件包管理器Homebrew
主页https://libosinfo.org/
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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
  • 匹配方式: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-10.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 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式: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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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