Plasma/Mobile/SettingUpFlatpak: Difference between revisions
Appearance
Created page with "Use with precaution <code> $ sudo -i echo "deb http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu xenial main" > /etc/apt/sources.list.d/alexlarsson-ubuntu-flatpak-xenial.l..." |
No edit summary |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
Use with precaution | Use with precaution | ||
< | = Install = | ||
<tt> | |||
$ sudo -i | $ sudo -i | ||
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 15: | 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> | ||
= Run = | |||
<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.