Flatpak

From Void Linux Wiki
Jump to: navigation, search

Flatpak (formerly known as xdg-app) is technology for building and installing desktop applications in a straightforward manner, to the point that some apps that aren't yet available for installing via XBPS can be installed with Flatpak if a suitable package is available. There are also additional benefits in using Flatpak, such as:

  • you can install several different versions of the same application
  • applications run in a sandbox, which improves security and enables developers to replicate reported bugs more easily
  • proprietary and glibc-only software can be run on a musl system

See the flatpak homepage for more details and a listing of the applications available for download.

Flatpak is available from the Void repos since April 2017 for all supported architectures and both libc implementations (musl and glibc). Skype or Spotify are only some of the apps that can be easily installed on Void using Flatpak.

Installing Flatpak

Open a console and enter

# xbps-install -S flatpak

A number of dependencies will be installed. Afterwards, you will be able to install any of the desktop applications listed on the Flatpak homepage with a minimum of hassle.