Bazzite has a very simple process for installing software that isn’t on Flatpak: You spin up a virtual machine running a better distro and install it there

  • sp3ctr4l@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    14
    ·
    edit-2
    23 hours ago

    So I realize this is a meme community but why not, its on topic:

    … How is one supposed to install say, I2P, I2PD … on Bazzite?

    I have tried the flatpak but it doesn’t work properly because it only installs at the user level via the app store/flatpak… not the system level.

    I have tried to figure out how to set it up in a distro box and am apparently too stupid to figure this out.

    I am also apparently too stupid to figure out which of the like 8 different kinds of ports I2P uses for one thing or another… I actually need to forward in my router.

    help plz

      • sp3ctr4l@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        12
        ·
        edit-2
        16 hours ago

        Yes, I have read the wiki.

        As I said, flatpak no worky because you don’t have a system level install option.

        Flatseal might help, but I do not know what I’d have to custom configure.

        Ujust has no helper commands for i2p.

        Homebrew might help for setting up the daemon, but i wouldn’t know how to connect it properly to a firefox or librewolf container tab, within bazzite.

        … Quadlet.

        Ok. This didn’t exist the last time I looked at the wiki a couple months ago, goddamnit.

        I2P does have a docker set up guide… this might actually work, if it can direcrtly fuck with bazzite’s systemctl.

        That being said: I have never use cli docker before so… wheee!

        Uh other than that:

        Distrobox is basically a very fancy docker container… maybe if I set up a whole distro, with I2P, and its own version of ffox, lwolf… that would work?

        …afaik there is no official i2p appimage, and even if there was, its containerized, same problem as a flatpak.

        … and finally, rpm ostree, the big no no… yeah, there is no official .rpm for i2p.

        … I… guess… i could set up vanilla fedora… in distrobox… and try to compile it from source… and then… either install that rpm in the fedora-distrobox… or… bazzite itself?

        … its mid night, im going to bed rofl.

          • sp3ctr4l@lemmy.dbzer0.com
            link
            fedilink
            English
            arrow-up
            3
            ·
            6 hours ago

            There is an unofficial build in COPR, maintained by… some random person? …but nothing mainline.

            And its instructions tell you to install with dnf, which i think at this point is literally disabled by Bazzite… because they rely on rpm-ostree, and if you muck about with rpm-ostree, you can run into dependency conflict hell.

            But at the same time, i2p needs to be able to directly mess with systemctl… which… as far as I can tell… can’t be done by having i2p installed in some kind of container… because the entire point of a container… is to isolate the core system.

            • Possibly linux@lemmy.zip
              link
              fedilink
              English
              arrow-up
              2
              ·
              4 hours ago

              Why does it need systemctl?

              There are official container images that you could use. If all else fails you could set it up in a VM.

          • sp3ctr4l@lemmy.dbzer0.com
            link
            fedilink
            English
            arrow-up
            3
            ·
            edit-2
            6 hours ago

            Bazzite does not come with java.

            As… far as I am aware… you cannot install Java via flatpak or appimage or any other methods Bazzite says are safe to install things by/with.

            To install java, in Fedora, you are told to use dnf, but Bazzite has disabled dnf because they use rpm-ostree to maintain a controlled and static core os.

            To install java using rpm-ostree would likely lead to dependency conflict hell, and destabilize Bazzite… because the entire point of Bazzite is to enforce specific rpm-ostree build recipes, to provide maximum stability for officially supported stuff.

            You could potentially set up distrobox container, set up java there, install i2p in the container… but that container is isolated from messing with systemctl, which i2p must do (as far as I can tell?) to actually function properly… so this also seems like it would not work.

            • eodur@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              3 hours ago

              I’ve not used i2p but I’ve had to mess with a lot of other random weird tools under bazzite. I’d suggest installing it in a distrobox. There is a command for linking programs from your host into the distrobox and then exposing them back to the host. I forget the exact syntax but I used it for vscode and intellij and it was really straight forward and worked well. I don’t see why it wouldn’t work with i2p and Firefox.

            • Ludrol@szmer.info
              link
              fedilink
              arrow-up
              3
              ·
              edit-2
              5 hours ago

              Can you experiment and see if rpm-ostree will lead to destabilization? If nothing else works this is IMO your best shot other than building from source to use in rpm-ostree.

              • sp3ctr4l@lemmy.dbzer0.com
                link
                fedilink
                English
                arrow-up
                3
                ·
                edit-2
                5 hours ago

                I can… and I have… and this has resulted in destabilzation.

                … This is why I am asking for help, if anyone has figured this out… and why I am not asking for permission to continue to flail about ineffectively.

                As far as I can tell, as ludicrous as it seems… setting up a distrobox with an actual mainline fedora build, then configuring it as a dev enviroment, then building an rpm package for i2p, from source inside this container… and then installing that static rpm into actual Bazzite OS…

                That would probably at least be more stable for Bazzite as a whole, just feeding it a single, extra, static package, as compared to source dependency hell…

                But I have no idea if I2P would… actually compile correctly… and… work.

                Although, I have managed to build Godot, a few versions ago, doing this, just as an experiment… and it … seemed to… mostly work?

                ???

                There were lots of fun unique error messages in the console that just did not exist anywhere else online.

            • interdimensionalmeme@lemmy.ml
              link
              fedilink
              arrow-up
              3
              ·
              8 hours ago

              Easier than learning what a flatpack is and probably uses less ressources while being more reliable and faster and not crashing for reasons that will eat your entire weekend to solve.

              • sp3ctr4l@lemmy.dbzer0.com
                link
                fedilink
                English
                arrow-up
                2
                ·
                edit-2
                5 hours ago

                Oh how I wish there was some distro that was just debian based, but preconfigured to work on a handheld PC, not sanboxed and containerized to all hell.

                The entire design paradigm of Bazzite is ‘sandbox the custom core fedora architecture, give the users a milliom kinds of containers for everything else, so they won’t break the custom core architecture’.