This script is for Slackware 14.2 only and may be outdated.

SlackBuilds Repository

14.2 > Desktop > flatpak (1.6.2)


Flatpak is the new framework for desktop applications on Linux

Distributing applications on Linux is a pain: different distributions
in multiple versions, each with their own versions of libraries and
packaging formats. Flatpak is here to change all that. It allows the
same app to be installed on different Linux distributions, including
different versions. And it has been designed from the ground up with
security in mind, so that apps are isolated from each other and from
the host system.

You can find many apps already available on
Add flathub for system and your user's home folder with:

sudo flatpak remote-add --if-not-exists flathub \
flatpak --user remote-add --if-not-exists flathub \

Apps that require pulse audio (like steam, skype, etc) need
PULSE_SERVER environment variable to be set. This is not set for most
shells in slackware by default. One way I found to set this is:

export `xprop -root -notype PULSE_SERVER | tr -d ' '`

A cleaner approach is to run `start-pulseaudio-x11` and then
`pax11publish -i` so the correct PULSE_SERVER variable is
exported. Adding these two commands to your ~/.xsession would be

Some of the examples from are relying
on polkit helpers, that expect a user in the 'wheel' group to have
privileges for, but default polkit admin rule for slackware is just
the root user. So, if you run a command like:

flatpak remote-add --from gnome
flatpak remote-add --from gnome-apps \

as a limited user, you will get a polkit prompt for root's
password. This is because the default location for establishing these
repos is in `/var/lib/flatpak` and requires admin privileges.

You can optionally add the flag `--user` to flatpak commands, and it
will instead manage the repos in `~/.local/share/flatpak`.

There are examples of flatpak runtimes and applications on their wiki:

They too have desktop launchers search by desktops like KDE and XFCE,
it will require a logout, as /etc/profile.d/ will need to
be sourced.

This requires: json-glib, libseccomp, bubblewrap, ostree, appstream-glib, xdg-desktop-portal-gtk

Maintained by: Vincent Batts
Keywords: container,desktop,applications,sandbox,flatpak
ChangeLog: flatpak


Source Downloads:
flatpak-1.6.2.tar.xz (59cd8b14f63164506e7891bba09afb97)

Download SlackBuild:
flatpak.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Individual Files:

Validated for Slackware 14.2

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2024 Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds