Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, MacPorts, Nix, pacman, zypper, dnf 安装 appstream-glib

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install appstream-glib

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install appstream-glib

MacPorts ports tree · devel/appstream-glib/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add appstream-glib

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

Debian apt已验证 · 92%
sudo apt install appstream-glib-doc

Debian stable package indexes · appstream-glib-doc · 来源: deb.debian.org

Nix已验证 · 92%
nix profile install nixpkgs#appstream-glib

nixpkgs package indexes · pkgs/by-name/ap/appstream-glib/package.nix · 来源: api.github.com

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

Arch Linux sync databases · appstream-glib · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install appstream-glib

openSUSE Tumbleweed package metadata · appstream-glib · 来源: download.opensuse.org

Fedora dnf已验证 · 92%
sudo dnf install appstream-compose

Fedora Rawhide package metadata · appstream-compose · 来源: dl.fedoraproject.org

概览

软件包摘要

Helper library for reading and writing AppStream metadata

命令和别名

  • appstream-compose
  • appstream-util

历史

项目历史与用法

AppStream-Glib is a GLib/GObject library and tool suite for reading, writing, validating, and composing AppStream metadata. It historically provided appstream-util, appstream-compose, and appstream-builder workflows used by Linux software-center metadata pipelines.

项目历史

The upstream NEWS file records AppStream-Glib 0.1.0 in March 2014. The README describes a library for compressed AppStream XML, Debian DEP-11 YAML, application-store search, screenshot and release metadata, and locale-aware application data.

The repository now warns that appstream-glib is in heavy maintenance mode and recommends using the AppStream reference implementation instead. That warning captures the project's historical role: important infrastructure while AppStream metadata practices were settling, but no longer the preferred new dependency.

采用历史

AppStream-Glib was closely tied to GNOME Software and Fedora-style metadata generation. Its appstream-builder documentation describes extracting application metadata from package trees, writing XML archives and icon tarballs, and injecting that data into repository metadata with modifyrepo.

The tool was adopted by Linux distributions because software centers needed app-centric metadata that traditional package metadata did not provide: icons, screenshots, localized descriptions, release notes, content ratings, and validation rules.

使用方式

Packagers and distribution maintainers used appstream-util for validation/conversion and appstream-builder or appstream-compose-style flows to generate repository metadata from packages and upstream AppData/MetaInfo files.

The README's builder example shows a package-directory scan producing AppStream XML, failed/ignored metadata reports, and icon archives that can be installed into repository metadata so software-center applications can display richer package information.

为什么软件包爱好者会关心

AppStream-Glib is one of the utilities that made package repositories feel less like file indexes and more like app stores. It matters to package nerds because it bridges distro package metadata, desktop files, AppData/MetaInfo XML, screenshots, icons, and software-center UX.

Its maintenance-mode status is also significant: modern packagers should usually prefer the main AppStream project, but historical build scripts and distribution metadata pipelines may still contain appstream-glib commands.

时间线

  • 2014: NEWS records AppStream-Glib 0.1.0.
  • 2015: 0.5.x releases show rapid development around metadata and builder behavior.
  • 2022: 0.8.0 ports from libsoup to libcurl and continues validation updates.
  • 2024: 0.8.3 release continues maintenance fixes.

Related projects

  • AppStream is the specification and current reference implementation recommended by upstream.
  • GNOME Software and distribution software centers are primary consumers of the metadata AppStream-Glib helped generate.
  • DEP-11 is the Debian-style YAML metadata format the README says appstream-glib can read.

安全态势

风险级别:blue

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

风险分类器

blue 风险 · 中 置信度 · tool

原因

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

信号

  • text:stream

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 10 个平台目标。
  • 安装时包含 5 个运行时依赖。
  • 构建元数据列出 6 个构建依赖。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
appstream-composecli全局可执行文件
appstream-utilcli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-08
管理器版本0.8.3
管理器更新时间2026-06-22
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/hughsie/appstream-glib

安装元数据

软件包元数据

软件包键brew:appstream-glib
版本0.8.3
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/appstream-glib
主页https://github.com/hughsie/appstream-glib
仓库https://github.com/hughsie/appstream-glib
上游文档https://github.com/hughsie/appstream-glib#readme
许可证LGPL-2.1-or-later
源码归档https://github.com/hughsie/appstream-glib/archive/refs/tags/appstream_glib_0_8_3.tar.gz
最后更新2026-06-22T14:02:44-07:00
Pulseupdated
依赖gdk-pixbuf, gettext, glib, json-glib, libarchive
构建依赖docbook, docbook-xsl, gobject-introspection, meson, ninja, pkgconf
macOS 提供的库curl
Bottle可用 (于 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

appstream-glib-doc 0.8.3-1

Developer documentation for the libappstream-glib library

https://github.com/hughsie/appstream-glib

sudo apt install appstream-glib-doc
  • Section: doc
  • Architecture: all
  • Source Package: appstream-glib
  • normalized package name match
  • 匹配方式:Appstream Glib
Debian stable package indexes · deb.debian.org · Debian stable package indexes: appstream-glib-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

appstream-util 0.8.3-1

Utility to work with AppStream metadata

https://github.com/hughsie/appstream-glib

sudo apt install appstream-util
  • Section: admin
  • Architecture: amd64
  • Source Package: appstream-glib
  • 5 依赖
  • normalized package name match
  • 匹配方式:Appstream Glib
Debian stable package indexes · deb.debian.org · Debian stable package indexes: appstream-util from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

gir1.2-appstreamglib-1.0 0.8.3-1

GObject introspection data for the libappstream-glib library

https://github.com/hughsie/appstream-glib

sudo apt install gir1.2-appstreamglib-1.0
  • Section: introspection
  • Architecture: amd64
  • Source Package: appstream-glib
  • 4 依赖
  • normalized package name match
  • 匹配方式:Appstream Glib
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gir1.2-appstreamglib-1.0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libappstream-glib-dev 0.8.3-1

GNOME library to access AppStream services (development files)

https://github.com/hughsie/appstream-glib

sudo apt install libappstream-glib-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: appstream-glib
  • 10 依赖
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Appstream Glib
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libappstream-glib-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libappstream-glib8 0.8.3-1

GNOME library to access AppStream services

https://github.com/hughsie/appstream-glib

sudo apt install libappstream-glib8
  • Section: libs
  • Architecture: amd64
  • Source Package: appstream-glib
  • 7 依赖
  • normalized package name match
  • 匹配方式:Appstream Glib
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libappstream-glib8 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

appstream-glib

nix profile install nixpkgs#appstream-glib
  • normalized package name match
  • 匹配方式:Appstream Glib
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ap/appstream-glib/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

appstream-glib-doc 0.8.2-1.1build1

Developer documentation for the libappstream-glib library

https://github.com/hughsie/appstream-glib

sudo apt install appstream-glib-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: appstream-glib
  • normalized package name match
  • 匹配方式:Appstream Glib
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: appstream-glib-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

appstream-util 0.8.2-1.1build1

Utility to work with AppStream metadata

https://github.com/hughsie/appstream-glib

sudo apt install appstream-util
  • Section: universe/admin
  • Architecture: amd64
  • Source Package: appstream-glib
  • 5 依赖
  • normalized package name match
  • 匹配方式:Appstream Glib
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: appstream-util from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

gir1.2-appstreamglib-1.0 0.8.2-1.1build1

GObject introspection data for the libappstream-glib library

https://github.com/hughsie/appstream-glib

sudo apt install gir1.2-appstreamglib-1.0
  • Section: universe/introspection
  • Architecture: amd64
  • Source Package: appstream-glib
  • 4 依赖
  • normalized package name match
  • 匹配方式:Appstream Glib
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gir1.2-appstreamglib-1.0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libappstream-glib-dev 0.8.2-1.1build1

GNOME library to access AppStream services (development files)

https://github.com/hughsie/appstream-glib

sudo apt install libappstream-glib-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: appstream-glib
  • 10 依赖
  • normalized package name match
  • 匹配方式:Appstream Glib
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libappstream-glib-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libappstream-glib8 0.8.2-1.1build1

GNOME library to access AppStream services

https://github.com/hughsie/appstream-glib

sudo apt install libappstream-glib8
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: appstream-glib
  • 8 依赖
  • normalized package name match
  • 匹配方式:Appstream Glib
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libappstream-glib8 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

appstream-glib 0.8.3-r0

Library for AppStream metadata

https://people.freedesktop.org/~hughsient/appstream-glib/

sudo apk add appstream-glib
  • License: LGPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: appstream-glib
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Appstream Glib
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: appstream-glib from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

appstream-glib-bash-completion 0.8.3-r0

Bash completions for appstream-glib

https://people.freedesktop.org/~hughsient/appstream-glib/

sudo apk add appstream-glib-bash-completion
  • License: LGPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: appstream-glib
  • normalized package name match
  • 匹配方式:Appstream Glib
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: appstream-glib-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

appstream-glib-builder 0.8.3-r0

Library and command line tools for building AppStream metadata

https://people.freedesktop.org/~hughsient/appstream-glib/

sudo apk add appstream-glib-builder
  • License: LGPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: appstream-glib
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Appstream Glib
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: appstream-glib-builder from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

appstream-glib-dbg 0.8.3-r0

Library for AppStream metadata (debug symbols)

https://people.freedesktop.org/~hughsient/appstream-glib/

sudo apk add appstream-glib-dbg
  • License: LGPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: appstream-glib
  • 1 依赖
  • normalized package name match
  • 匹配方式:Appstream Glib
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: appstream-glib-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

appstream-glib-dev 0.8.3-r0

Library for AppStream metadata (development files)

https://people.freedesktop.org/~hughsient/appstream-glib/

sudo apk add appstream-glib-dev
  • License: LGPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: appstream-glib
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Appstream Glib
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: appstream-glib-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

来源线索

由仓库数据生成

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

使用的来源

  • 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