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

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

## インストール

```sh
sudo av install brew:appstream-glib
```

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

### macOS

- Homebrew (100%):

```sh
brew install appstream-glib
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install appstream-glib
```

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

### Linux

- apk (92%):

```sh
sudo apk add appstream-glib
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#appstream-glib
```

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

- pacman (92%):

```sh
sudo pacman -S appstream-glib
```

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

- zypper (92%):

```sh
sudo zypper install appstream-glib
```

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

- Debian apt (92%):

```sh
sudo apt install appstream-glib-doc
```

  証拠: Debian stable package indexes: appstream-glib-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install appstream-compose
```

  証拠: Fedora Rawhide package metadata: appstream-compose from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:appstream-glib
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.8.4
- **ソース概要:** Helper library for reading and writing AppStream metadata
- **ホームページ:** <https://github.com/hughsie/appstream-glib>
- **リポジトリ:** <https://github.com/hughsie/appstream-glib>
- **最終更新:** 2026-07-27T15:09:00Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- appstream-compose (エイリアス)
- appstream-util (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.8.4
## プロジェクトの歴史と使われ方

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.

### ソース

- <https://github.com/hughsie/appstream-glib#readme>
- <https://github.com/hughsie/appstream-glib/blob/main/NEWS>


## セキュリティノート

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

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

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

- Debian apt - appstream-glib-doc - 0.8.3-1: normalized package name match | Debian stable package indexes: appstream-glib-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Developer documentation for the libappstream-glib library | https://github.com/hughsie/appstream-glib
- Debian apt - appstream-util - 0.8.3-1: normalized package name match | Debian stable package indexes: appstream-util from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Utility to work with AppStream metadata | https://github.com/hughsie/appstream-glib
- Debian apt - gir1.2-appstreamglib-1.0 - 0.8.3-1: normalized package name match | Debian stable package indexes: gir1.2-appstreamglib-1.0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GObject introspection data for the libappstream-glib library | https://github.com/hughsie/appstream-glib
- Debian apt - libappstream-glib-dev - 0.8.3-1: normalized package name match | Debian stable package indexes: libappstream-glib-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNOME library to access AppStream services (development files) | https://github.com/hughsie/appstream-glib
- Debian apt - libappstream-glib8 - 0.8.3-1: normalized package name match | Debian stable package indexes: libappstream-glib8 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | GNOME library to access AppStream services | https://github.com/hughsie/appstream-glib
- Nix - appstream-glib: normalized package name match | 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 apt - appstream-glib-doc - 0.8.2-1.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: appstream-glib-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Developer documentation for the libappstream-glib library | https://github.com/hughsie/appstream-glib
- Ubuntu apt - appstream-util - 0.8.2-1.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: appstream-util from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Utility to work with AppStream metadata | https://github.com/hughsie/appstream-glib
- Ubuntu apt - gir1.2-appstreamglib-1.0 - 0.8.2-1.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: gir1.2-appstreamglib-1.0 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GObject introspection data for the libappstream-glib library | https://github.com/hughsie/appstream-glib
- Ubuntu apt - libappstream-glib-dev - 0.8.2-1.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libappstream-glib-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GNOME library to access AppStream services (development files) | https://github.com/hughsie/appstream-glib
- Ubuntu apt - libappstream-glib8 - 0.8.2-1.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libappstream-glib8 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | GNOME library to access AppStream services | https://github.com/hughsie/appstream-glib
- apk - appstream-glib - 0.8.3-r0: normalized package name match | Alpine Linux edge package indexes: appstream-glib from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Library for AppStream metadata | https://people.freedesktop.org/~hughsient/appstream-glib/
- apk - appstream-glib-bash-completion - 0.8.3-r0: normalized package name match | Alpine Linux edge package indexes: appstream-glib-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for appstream-glib | https://people.freedesktop.org/~hughsient/appstream-glib/
- apk - appstream-glib-builder - 0.8.3-r0: normalized package name match | Alpine Linux edge package indexes: appstream-glib-builder from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Library and command line tools for building AppStream metadata | https://people.freedesktop.org/~hughsient/appstream-glib/
- apk - appstream-glib-dbg - 0.8.3-r0: normalized package name match | Alpine Linux edge package indexes: appstream-glib-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Library for AppStream metadata (debug symbols) | https://people.freedesktop.org/~hughsient/appstream-glib/
- apk - appstream-glib-dev - 0.8.3-r0: normalized package name match | Alpine Linux edge package indexes: appstream-glib-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Library for AppStream metadata (development files) | https://people.freedesktop.org/~hughsient/appstream-glib/


## Combined YAML source

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


## ソース

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