Skip to content

elementary/appcenter

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

AppCenter

Translation status

An open, pay-what-you-want app store for indie developers.

AppCenter Screenshot

Building, Testing, and Installation

You'll need the following dependencies:

  • gettext
  • libappstream-dev (>= 0.10)
  • libflatpak-dev
  • libgee-0.8-dev
  • libgranite-dev (>=5.2.5)
  • libgtk-3-dev
  • libhandy-1-dev (>=1.3.0)
  • libjson-glib-dev
  • libpackagekit-glib2-dev
  • libpolkit-gobject-1-dev
  • libsoup2.4-dev
  • libxml2-dev
  • libxml2-utils
  • meson
  • valac (>= 0.26)

Run meson build to configure the build environment. Change to the build directory and run ninja to build

meson build --prefix=/usr
cd build
ninja

To install, use ninja install, then execute with io.elementary.appcenter

sudo ninja install
io.elementary.appcenter

Debugging

See debug messages: As specified in the GLib documentation

G_MESSAGES_DEBUG=all io.elementary.appcenter

Show restart required messaging:

sudo touch /var/run/reboot-required

Hide restart required messaging:

sudo rm /var/run/reboot-required

Fake updates with the -f flag followed by PackageKit package name, not appstream id:

io.elementary.appcenter -f inkscape

Load and preview a local AppStream XML metadata file, your local metadata will show up in the featured banner and will also be searchable. Metadata loaded this way will have a (local) suffix in it's name.

io.elementary.appcenter --load-local /path/to/file.appdata.xml