UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Hypothetically run UT apps on regular Ubuntu 18.04?

    Scheduled Pinned Locked Moved Support
    7 Posts 5 Posters 653 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • N Offline
        nontrivial
        last edited by nontrivial

        This is more of a question to help me try to understand more about Ubuntu Touch than it is me actually asking how to do it:

        How would one run UT apps from the app store on regular old Ubuntu? In other words, I am currently running Ubuntu 18.04 on my desktop (and probably 20.04 here in a few months) and if there is a way to run the Open Store on my desktop and install apps and webapps how would you do that?

        If you can't do that what are the main reasons that you can't?

        AppLeeA 1 Reply Last reply Reply Quote 1
        • 3 Offline
          3T_Ed
          last edited by

          After a few weeks of mobile use only I was just updating Ubuntu 20.04 LTS on my desktop computer and was wondering the exact same thing.

          Critics are the true Positives | OnePlus 3T, Lumia 950

          1 Reply Last reply Reply Quote 0
          • AppLeeA Offline
            AppLee @nontrivial
            last edited by AppLee

            @nontrivial
            This is not possible at the moment.

            The Open Store distributes apps and their dependencies as binaries.
            Most apps from the Open Store are for armhf or arm64 so not compatible with a regular PC.

            But there is always a way. Developers use clickable as a convenience tool to build packages.
            And clickable provides an easy way to build an app for desktop and run it.

            So if you're ever willing to do it, you can install clickable, download the sources of the app and build yourself the app for desktop.

            1 Reply Last reply Reply Quote 0
            • dobeyD Offline
              dobey
              last edited by

              The two main reasons are:

              1. PackageKit in Ubuntu 18.04 no longer support plug-ins, so the current way clicks are installed/removed by OpenStore app won't work.

              2. None of the core dependencies are available in Ubuntu 18.04 directly, and need to be built/installed to work there and provide the necessary frameworks for the apps to work.

              However, some things may be compiled and run on Ubuntu 18.04 easily enough. For example, I use authenticator-ng directly on my PC running Debian testing, though built locally and not from the click in OpenStore.

              1 Reply Last reply Reply Quote 0
              • N Offline
                nontrivial
                last edited by

                @dobey Bummer that it's not currently possible to use the Open Store with mainline Ubuntu. I understand it isn't a priority, but is it on the todo list at all?

                @AppLee Actually I've been messing around with clickable and have created a couple webapps with it, so I can create clicks for amd64. Once I have a click how would I install it on my desktop? Is there an equivalent to "dpkg -i" ?

                dobeyD 1 Reply Last reply Reply Quote 0
                • H Offline
                  hummlbach
                  last edited by

                  Another way to run UT apps on a usual amd64 desktop linux is packaging them as snaps. That has been done for fluffychat and dekko for example:
                  https://snapcraft.io/fluffychat
                  https://snapcraft.io/dekko2
                  However probably only a few UT apps are packaged as snaps yet and there may be some restrictions for the snap builds. I.e. there is no "desktop replacement" for content hub in dekko yet to attach files to mails...

                  1 Reply Last reply Reply Quote 0
                  • dobeyD Offline
                    dobey @nontrivial
                    last edited by

                    @nontrivial said in Hypothetically run UT apps on regular Ubuntu 18.04?:

                    but is it on the todo list at all?

                    The list is extremely long and ever-growing, as the rest of the world continues to change in different ways around UT.

                    @nontrivial said in Hypothetically run UT apps on regular Ubuntu 18.04?:

                    Once I have a click how would I install it on my desktop? Is there an equivalent to "dpkg -i" ?

                    You need to get https://github.com/ubports/click installed first, and then you can use click to install a package. Though, with other things missing on Ubuntu it may not get you very far. 🙂

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post