Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Flatpak and AppImage usage on openSUSE

1,212 views

Published on

Slides from openSUSE Asia Summit 2017
https://events.opensuse.org/conference/summitasia17

Published in: Technology
  • Be the first to comment

Flatpak and AppImage usage on openSUSE

  1. 1. Kukuh Syafaat kukuh@syafaat.id Flatpak & AppImage Usage on openSUSE. Which One Suitable for openSUSE Users? openSUSE Asia Summit 2017 Chofu, Tokyo, Japan October 21 - 22, 2017
  2. 2. Hello (world) ● Kukuh Syafaat – インドネシア – FOSS Enthusiast – openSUSE-ID – Translator ● https://l10n.opensuse.org ● https://l10n.gnome.org ● Some FOSS projects at transifex.com – Endless Ambassador
  3. 3. ● アプリケーションコンテナ技術の Flatpak と AppImage どちらを使うべきか ? – アプリケーション、ライブラリを 1 つのコンテナ ( パッケー ジ ) にして どのディストリでも動くように
  4. 4. Cross Distribution Packages/Containerised Applications
  5. 5. Snap, AppImage, Flatpak Feature Snap AppImage Flatpak No softare necessary to install a package No Yes No Shared runtimes Basic No Full Sandboxing AppArmor Yes Custom Repository support Yes No Yes Central repo Yes No Yes Updates Automatic Yes Automatic Source: https://ttt.devpy.me/snapcraf-appimage-flatpak/ tith some changes
  6. 6. Snap ● https://snapcraf.io/ ● The installation (on distros other than Ubuntu) of Snapcraf have a lot more dificult and buggy
  7. 7. Flatpak
  8. 8. Flatpak ● Flatpak (formerly xdg-app) is a softare utility for softare deployment, package management, and application virtualization for Linux desktop computers. ● http://flatpak.org/
  9. 9. Why Flatpak? ● Access a tide variety of applications ● Get net versions faster ● Safely update your apps tithout having to reboot ● Install diferent versions of the same application ● Secure, sandboxed applications
  10. 10. LIBRARY LIBRARY LIBRARY SANDBOX PORTAL OPERATING SYSTEM DATA CODE APPLICATION LIBRARY LIBRARY LIBRARY LIBRARY LIBRARY LIBRARY RUNTIME (SHARED) PORTAL PORTAL
  11. 11. Install Flatpak on openSUSE $ sudo zypper install flatpak Current Version ● Tumbleteed: 0.9.8 ● Leap 42.3: 0.8.6
  12. 12. https://flathub.org/
  13. 13. Flatpak Repositories ● Flathub $ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo ● GNOME $ flatpak remote-add --if-not-exists gnome-nightly https://sdk.gnome.org/gnome-nightly.flatpakrepo $ flatpak remote-add --if-not-exists gnome-apps-nightly https://sdk.gnome.org/gnome-apps-nightly.flatpakrepo
  14. 14. Flatpak Case Study
  15. 15. LibreOfice in openSUSE ● Current Version – Tumbleteed: 5.4.2 – Leap 42.3: 5.3.6
  16. 16. LibreOfice Flatpak ● http://ttt.libreofice.org/dotnload/flatpak/ ● http://dotnload.documentfoundation.org/libreofice/flatpak/ $ wget http://download.documentfoundation.org/libr eoffice/flatpak/latest/LibreOffice.flatpak $ flatpak install --user --bundle LibreOffice.flatpak $ flatpak run org.libreoffice.LibreOffice
  17. 17. Spotify Flatpak $ flatpak install --from https://flathub.org/repo/appstream/com.spotify. Client.flatpakref $ flatpak run com.spotify.Client
  18. 18. https://endlessos.com/
  19. 19. = Flatpak + GNOME + OSTree
  20. 20. Source: https://ttitter.com/FlatpakApps/status/918046440231964672
  21. 21. AppImage
  22. 22. Flatpak/Flathub Issues Source: https://ttitter.com/sysrich/status/907134588941729792
  23. 23. AppImage ● Format for distributing portable softare on Linux tithout needing superuser permissions to install the application. ● https://appimage.org/
  24. 24. Source: https://speakerdeck.com/probonopd/opensuse-conference-2017-obs-b-appimage
  25. 25. Source: https://speakerdeck.com/probonopd/opensuse-conference-2017-obs-b-appimage
  26. 26. Source: https://speakerdeck.com/probonopd/opensuse-conference-2017-obs-b-appimage
  27. 27. Source: https://speakerdeck.com/probonopd/opensuse-conference-2017-obs-b-appimage
  28. 28. Running AppImage ● Make it executable $ chmod a+x YourApp.AppImage ● Run $ ./YourApp.AppImage
  29. 29. AppImage Case Study
  30. 30. LibreOfice AppImage ● http://libreofice.soluzioniopen.com/ – Stable ● LibreOfice-5.3.6 ● LibreOfice-5.4.1 – Pre-Releases ● LibreOfice-5.4.2.2 – Daily ● LibreOficeDev-6.0.0
  31. 31. Kdenlive ● https://kdenlive.org/dotnload/ – Latest AppImage 17.08.1
  32. 32. OpenShot ● http://ttt.openshot.org/dotnload/ – Latest AppImage v2.4.0
  33. 33. Krita ● https://krita.org/en/dotnload/krita-desktop/ – Latest AppImage v3.3.0
  34. 34. AppImageHub ● Crotd-sourced central AppImage directory ● https://appimage.github.io/apps/
  35. 35. Source: https://ttitter.com/probonopd/status/912561641316847616
  36. 36. Source: https://speakerdeck.com/probonopd/opensuse-conference-2017-obs-b-appimage
  37. 37. AppImage & Flatpak Feature AppImage Flatpak No softare necessary to install a package Yes No Shared runtimes No Full Sandboxing Yes Custom Repository support No Yes Central repo No Yes Updates Yes Automatic Source: https://ttt.devpy.me/snapcraf-appimage-flatpak/ tith some changes
  38. 38. Next session: Using OBS to Build Containerised Application Image Learn Hot To Generate AppImage
  39. 39. Q&A
  40. 40. THANK YOU ありがとうございました
  41. 41. Join Us at www.opensuse.org
  42. 42. License This slide deck is licensed under the Creative Commons Attribution-ShareAlike 4.0 International license. It can be shared and adapted for any purpose (even commercially) as long as Attribution is given and any derivative tork is distributed under the same license. Details can be found at https://creativecommons.org/licenses/by-sa/4.0/ General Disclaimer This document is not to be construed as a promise by any participating organisation to develop, deliver, or market a product. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. openSUSE makes no representations or tarranties tith respect to the contents of this document, and specifically disclaims any express or implied tarranties of merchantability or fitness for any particular purpose. The development, release, and timing of features or functionality described for openSUSE products remains at the sole discretion of openSUSE. Further, openSUSE reserves the right to revise this document and to make changes to its content, at any time, tithout obligation to notify any person or entity of such revisions or changes. All openSUSE marks referenced in this presentation are trademarks or registered trademarks of SUSE LLC, in the United States and other countries. All third-party trademarks are the property of their respective otners. Credits Template Richard Brotn rbrotn@opensuse.org Design & Inspiration openSUSE Design Team http://opensuse.github.io/branding- guidelines/

×