Announcement

Collapse
No announcement yet.

How to enable Flatpak in Kubuntu 23.04

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to enable Flatpak in Kubuntu 23.04

    If you want to use Flatpaks complementary to or instead of Snaps you will have to manually enable Flatpak support in Kubuntu 23.04 first:

    Here is a step-by-step tutorial:
    1. open the Konsole terminal emulator from the -> Application Launcher -> System
    2. enter
      sudo apt update && sudo apt install flatpak plasma-discover-backend-flatpak kde-config-flatpak and your password
      (this will install three things:
      a) the system's Flatpak support itself (which can be used in CLI, see flatpak --help and man flatpak),
      b) the Discover support for Flatpak to find, install, update and remove Flatpaks with the Discover software center and
      c) the Flatpak Permissions Settings module for System Settings to manage their permissions in -> Application Launcher​ -> Settings -> System Settings -> Applications)
    3. to enable the Flathub repository​ for Flatpaks
      EITHER in Konsole enter
      flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
      OR in the -> Application Launcher -> System ->​ Discover software center
      -> in the left part go to Settings -> click the button at the right side [Add Flathub]
      (both will enable the Flathub repository for Flatpaks, which is currently the largest one and is supported by e.g. KDE and GNOME - you can enable other Flatpak repositories like e.g. the one from Fedora or from individual developers later on if you wish to do so)
    4. restart your system or at least log out and in again
    5. done - you can now use Flatpaks and manage them with Discover and their permissions with System Settings (or you can do all of that in Konsole of course​)
    Please know that both Flatpaks and Snaps use up more space of your storage medium than programs "traditionally" installed by apt.​
    Flatpaks have some advantages and disadvantages that Snaps don't have and vice versa.​


    PS:
    There is a (purely graphical) method that might be easier for some people as claydoh et al pointed out here:
    https://www.kubuntuforums.net/forum/...359#post675359
    and in the following posts.

    Be aware that the purely graphical method does not install the Flatpak Permissions Settings module for System Settings - you will still have to install this in Konsole with sudo apt install kde-config-flatpak.​
    Last edited by Schwarzer Kater; Nov 19, 2023, 06:52 AM. Reason: added PS
    Debian KDE & LXQt • Kubuntu & Lubuntu • openSUSE KDE • Windows • macOS X
    Desktop: Lenovo ThinkCentre M75s • Laptop: Apple MacBook Pro 13" • and others

    get rid of Snap script (20.04 +)reinstall Snap for release-upgrade script (20.04 +)
    install traditional Firefox script (22.04 +)​ • install traditional Thunderbird script (24.04)

    #2
    i believe under system settings updates, or it could be in discover, theres a clickbox for flatpak if anyone needs a gui to do it

    Comment


      #3
      Originally posted by Oderus View Post
      i believe under system settings updates, or it could be in discover, theres a clickbox for flatpak if anyone needs a gui to do it
      Click image for larger version  Name:	Screenshot_20230516_074812-1.png Views:	0 Size:	113.8 KB ID:	670851


      Still need to reboot, then add a source:

      Click image for larger version  Name:	Screenshot_20230516_075446-1.png Views:	0 Size:	40.9 KB ID:	670852



      I am still trying to figure out this Debian Lunar thing, lololol.
      Last edited by claydoh; May 16, 2023, 05:56 AM.

      Comment


        #4
        Originally posted by claydoh View Post

        Click image for larger version Name:	Screenshot_20230516_074812-1.png Views:	0 Size:	113.8 KB ID:	670851


        Still need to reboot, then add a source:

        Click image for larger version Name:	Screenshot_20230516_075446-1.png Views:	0 Size:	40.9 KB ID:	670852



        I am still trying to figure out this Debian Lunar thing, lololol.


        It's always a good time setting up a new install. Lots to go through! Keep it up!

        Comment

        Working...
        X