< Plasma‎ | Mobile

Difference between revisions of "Plasma/Mobile/SettingUpFlatpak"

 
Line 26: Line 26:
 
= Run =  
 
= Run =  
 
<tt>flatpak run org.gnome.gedit</tt>
 
<tt>flatpak run org.gnome.gedit</tt>
 +
 +
 +
= Building flatpaks in Docker =
 +
When building flatpaks in Docker, use a privileged container.

Latest revision as of 12:39, 8 May 2017

Use with precaution

Install

$ sudo -i

echo "deb http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu xenial main" > /etc/apt/sources.list.d/alexlarsson-ubuntu-flatpak-xenial.list

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C793BFA2FA577F07

apt update

ntpdate pool.ntp.org

apt install flatpak

chmod o+s /usr/lib/flatpak/flatpak-bwrap

flatpak remote-add gnome --from https://sdk.gnome.org/gnome.flatpakrepo

flatpak remote-add gnomeapps --from https://sdk.gnome.org/gnome-apps.flatpakrepo

flatpak install gnomeapps org.gnome.gedit

Run

flatpak run org.gnome.gedit


Building flatpaks in Docker

When building flatpaks in Docker, use a privileged container.


This page was last edited on 8 May 2017, at 12:39. Content is available under Creative Commons License SA 4.0 unless otherwise noted.