Plasma/Mobile/SettingUpFlatpak: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
(2 intermediate revisions by one other user not shown) | |||
Line 6: | Line 6: | ||
echo "deb http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu xenial main" > /etc/apt/sources.list.d/alexlarsson-ubuntu-flatpak-xenial.list | 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 | apt update | ||
ntpdate pool.ntp.org | ntpdate pool.ntp.org | ||
Line 16: | Line 18: | ||
flatpak remote-add gnome --from https://sdk.gnome.org/gnome.flatpakrepo | flatpak remote-add gnome --from https://sdk.gnome.org/gnome.flatpakrepo | ||
flatpak remote-add gnomeapps --from https://sdk.gnome.org/gnome-apps.flatpakrepo | flatpak remote-add gnomeapps --from https://sdk.gnome.org/gnome-apps.flatpakrepo | ||
flatpak install gnomeapps org.gnome.gedit | flatpak install gnomeapps org.gnome.gedit | ||
</tt> | </tt> | ||
Line 22: | 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.