macOS
brew install appstream-gliblocal Homebrew formula metadata
sudo port install appstream-glibMacPorts ports tree · devel/appstream-glib/Portfile · 来源: api.github.com
安装
brew install appstream-gliblocal Homebrew formula metadata
sudo port install appstream-glibMacPorts ports tree · devel/appstream-glib/Portfile · 来源: api.github.com
sudo apk add appstream-glibAlpine Linux edge package indexes · appstream-glib · 来源: dl-cdn.alpinelinux.org
sudo apt install appstream-glib-docDebian stable package indexes · appstream-glib-doc · 来源: deb.debian.org
nix profile install nixpkgs#appstream-glibnixpkgs package indexes · pkgs/by-name/ap/appstream-glib/package.nix · 来源: api.github.com
sudo pacman -S appstream-glibArch Linux sync databases · appstream-glib · 来源: geo.mirror.pkgbuild.com
sudo zypper install appstream-glibopenSUSE Tumbleweed package metadata · appstream-glib · 来源: download.opensuse.org
sudo dnf install appstream-composeFedora Rawhide package metadata · appstream-compose · 来源: dl.fedoraproject.org
概览
Helper library for reading and writing AppStream metadata
历史
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.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
appstream-compose | cli | 全局可执行文件 | |
appstream-util | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
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 |
| Pulse | updated |
| 依赖 | 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 Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | appstream-glib |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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-docappstream-util 0.8.3-1
Utility to work with AppStream metadata
https://github.com/hughsie/appstream-glib
sudo apt install appstream-utilgir1.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.0libappstream-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-devlibappstream-glib8 0.8.3-1
GNOME library to access AppStream services
https://github.com/hughsie/appstream-glib
sudo apt install libappstream-glib8appstream-glib
nix profile install nixpkgs#appstream-glibappstream-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-docappstream-util 0.8.2-1.1build1
Utility to work with AppStream metadata
https://github.com/hughsie/appstream-glib
sudo apt install appstream-utilgir1.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.0libappstream-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-devlibappstream-glib8 0.8.2-1.1build1
GNOME library to access AppStream services
https://github.com/hughsie/appstream-glib
sudo apt install libappstream-glib8appstream-glib 0.8.3-r0
Library for AppStream metadata
https://people.freedesktop.org/~hughsient/appstream-glib/
sudo apk add appstream-glibappstream-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-completionappstream-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-builderappstream-glib-dbg 0.8.3-r0
Library for AppStream metadata (debug symbols)
https://people.freedesktop.org/~hughsient/appstream-glib/
sudo apk add appstream-glib-dbgappstream-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来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.