AppStream is a cross-distro effort for providing metadata for software in the (Linux) ecosystem. It provides a convenient way to get information about not installed software, and is one of the building blocks for software centers. It consists of specifications for things like upstream metainfo files, an unified software metadata pool for distributors, screenshot services and various other useful bits needed to create user-friendly software-centers or other tools requiring rich metadata for software and other content.
This repository contains:
- the AppStream specification
appstreamcliutility to access metadata, manipulate caches, show diagnostic information, etc. (see
- a GLib/GObject based library for reading and writing AppStream metadata in XML and YAML, accessing the system data pool, and for various other useful methods.
- a Qt5 based library for accessing AppStream.
For help and development discussion, check out the AppStream mailinglist.
If you are looking for a way to generate distribution AppStream metadata for a package repository, you may want to take a look at appstream-generator.
- glib2 (>= 2.46)
- Vala Compiler (vapigen) (for Vala VAPI file)
- Snowball (for stemming support)
Documentation / Specification
Qt (for libappstream-qt)
- Qt5 Core
To compile AppStream, make sure that you have all required libraries (development files!) installed. Then continue (the build system will complain about missing dependencies).
Use CMake to configure AppStream and build it with make:
mkdir build cd build cmake <flags> .. make make test
Possible AppStream-specific flags are:
-DQT=ON -- Build the Qt5 interface library.
-DVAPI=ON -- Build Vala API to use library with the Vala programming language.
-DDOCUMENTATION=ON -- (Re)generate API documentation.
-DMAINTAINER=ON -- Enable strict compiler options - use this if you write a patch for AppStream.
-DSTEMMING=ON -- Enable support for stemming in fulltext searches.
-DAPT_SUPPORT=ON -- Enable integration with the APT package manager on Debian.
To install the compiled binaries and required data, execute
make install with superuser permission.
You can help translating AppStream via Weblate. Check out the AppStream Weblate Page.