macOS
brew install appstreamlocal Homebrew formula metadata
sudo port install appstreamMacPorts ports tree · gnome/appstream/Portfile · 来源: api.github.com
安装
brew install appstreamlocal Homebrew formula metadata
sudo port install appstreamMacPorts ports tree · gnome/appstream/Portfile · 来源: api.github.com
sudo apk add appstreamAlpine Linux edge package indexes · appstream · 来源: dl-cdn.alpinelinux.org
sudo apt install appstreamDebian stable package indexes · appstream · 来源: deb.debian.org
sudo dnf install appstreamFedora Rawhide package metadata · appstream · 来源: dl.fedoraproject.org
nix profile install nixpkgs#appstreamnixpkgs package indexes · appstream · 来源: raw.githubusercontent.com
sudo pacman -S appstreamArch Linux sync databases · appstream · 来源: geo.mirror.pkgbuild.com
sudo zypper install AppStreamopenSUSE Tumbleweed package metadata · AppStream · 来源: download.opensuse.org
概览
Tools and libraries to work with AppStream metadata
历史
AppStream is the freedesktop.org specification, reference implementation, and CLI/tooling for distro-agnostic software component metadata. It standardizes MetaInfo XML, catalog XML/YAML, validation, metadata composition, and query tooling used by Linux software centers and repositories.
The freedesktop.org project page describes AppStream as a cross-distribution effort to standardize software component metadata and provide the foundation for software-center applications. It points to the specification, mailing list, release tarballs, and the GitHub development repository.
The official documentation credits Matthias Klumpp as author and lists Michael Vogt, Richard Hughes, and Vincent Untz as contributors. It says the documentation covers a C/GLib reference implementation of the full specification and tooling such as `appstreamcli`.
The upstream NEWS file records AppStream 0.1.0 in October 2012. The freedesktop wiki notes an initial AppStream meeting in 2011 in its attic, which places the effort in the early Linux software-center era.
AppStream adoption followed the need for application-centric package metadata in Linux distributions. Traditional package metadata tells a package manager what files and dependencies exist; AppStream adds names, summaries, screenshots, icons, release data, content metadata, firmware and driver component metadata, and a normalized view for graphical software catalogs.
The project became important to distributions, Flatpak-like ecosystems, upstream application authors, and desktop software centers because it gives them a shared metadata language rather than one distro-specific app-store format.
The README describes AppStream as part of freedesktop.org and lists tools for validation, data verification, diagnostics, and catalog composition. That made the CLI useful both in distro build infrastructure and in upstream CI checks for MetaInfo files.
Upstream projects write MetaInfo XML files for applications, fonts, codecs, firmware, drivers, add-ons, and other components. Distributions package or compose those files into AppStream catalog metadata in XML or YAML.
Maintainers commonly use `appstreamcli validate --pedantic /path/to/metadata.xml` to check metadata and `appstreamcli compose` to build catalogs from directory trees. Consumers such as software centers query the resulting metadata through libappstream.
AppStream is package metadata with UX consequences. It is why distro repositories can feed graphical app stores with screenshots, localized descriptions, component IDs, content ratings, release notes, and installable firmware/driver metadata without each frontend inventing a private database.
For package nerds, the interesting part is that AppStream sits between upstream source releases, distro package builds, repository metadata, and desktop UX. A broken AppStream ID or invalid MetaInfo file can affect discoverability even when the package itself installs correctly.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
appstreamcli | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/ximion/appstream
安装元数据
| 软件包键 | brew:appstream |
|---|---|
| 版本 | 1.1.3 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/appstream |
| 主页 | https://www.freedesktop.org/wiki/Distributions/AppStream/ |
| 仓库 | https://github.com/ximion/appstream |
| 上游文档 | https://github.com/ximion/appstream#readme |
| 许可证 | LGPL-2.1-or-later |
| 源码归档 | https://github.com/ximion/appstream/archive/refs/tags/v1.1.3.tar.gz |
| 最后更新 | 2026-06-20T07:48:06Z |
| Pulse | updated |
| 依赖 | gettext, glib, libfyaml, libxmlb, zstd |
| 构建依赖 | gobject-introspection, gtk-doc, itstool, meson, ninja, pkgconf, vala |
| macOS 提供的库 | curl, libxml2 |
| 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 | appstream |
| 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 1.0.5-1
Software component metadata management
https://www.freedesktop.org/wiki/Distributions/AppStream/
sudo apt install appstreamappstream-compose 1.0.5-1
Compose metadata catalogs from directory trees
https://www.freedesktop.org/wiki/Distributions/AppStream/
sudo apt install appstream-composeappstream-doc 1.0.5-1
Developer documentation for AppStream
https://www.freedesktop.org/wiki/Distributions/AppStream/
sudo apt install appstream-docapt-config-icons 1.0.5-1
APT configuration snippet to enable icon downloads
https://www.freedesktop.org/wiki/Distributions/AppStream/
sudo apt install apt-config-iconsapt-config-icons-hidpi 1.0.5-1
APT configuration snippet to enable HiDPI icon downloads
https://www.freedesktop.org/wiki/Distributions/AppStream/
sudo apt install apt-config-icons-hidpiapt-config-icons-large 1.0.5-1
APT configuration snippet to enable large icon downloads
https://www.freedesktop.org/wiki/Distributions/AppStream/
sudo apt install apt-config-icons-largeapt-config-icons-large-hidpi 1.0.5-1
APT configuration snippet to enable large HiDPI icon downloads
https://www.freedesktop.org/wiki/Distributions/AppStream/
sudo apt install apt-config-icons-large-hidpigir1.2-appstream-1.0 1.0.5-1
Library to access AppStream services (introspection data)
https://www.freedesktop.org/wiki/Distributions/AppStream/
sudo apt install gir1.2-appstream-1.0gir1.2-appstreamcompose-1.0 1.0.5-1
Building blocks to compose AppStream metadata (introspection data)
https://www.freedesktop.org/wiki/Distributions/AppStream/
sudo apt install gir1.2-appstreamcompose-1.0libappstream-compose-dev 1.0.5-1
Building blocks to compose AppStream metadata (development files)
https://www.freedesktop.org/wiki/Distributions/AppStream/
sudo apt install libappstream-compose-devlibappstream-compose0 1.0.5-1
Building blocks to compose AppStream metadata
https://www.freedesktop.org/wiki/Distributions/AppStream/
sudo apt install libappstream-compose0libappstream-dev 1.0.5-1
Library to access AppStream services (development files)
https://www.freedesktop.org/wiki/Distributions/AppStream/
sudo apt install libappstream-devlibappstream5 1.0.5-1
Library to access AppStream services
https://www.freedesktop.org/wiki/Distributions/AppStream/
sudo apt install libappstream5libappstreamqt-dev 1.0.5-1
Qt6 library to access AppStream services (development files)
https://www.freedesktop.org/wiki/Distributions/AppStream/
sudo apt install libappstreamqt-devlibappstreamqt3 1.0.5-1
Qt6 library to access AppStream services
https://www.freedesktop.org/wiki/Distributions/AppStream/
sudo apt install libappstreamqt3libappstreamqt5-3 1.0.5-1
Qt5 library to access AppStream services
https://www.freedesktop.org/wiki/Distributions/AppStream/
sudo apt install libappstreamqt5-3来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.