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

  • Strawberry@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    4
    ·
    1 day ago

    You can just use rpm-ostree if you really need something as a system package. Otherwise toolbx or distrobox if it’s not available as a flatpak. None of these are virtual machines

  • Dragonstaff@leminal.space
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    1 day ago

    I’m a noob, and I thought Bazzite would be simpler, but when I had an issue (monitor going black under heavy load), I couldn’t solve the problem because of the immutable OS. I went around in circles with Google and ChatGPT, and couldn’t get it to work.

  • sp3ctr4l@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    13
    ·
    edit-2
    2 days 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
        11
        ·
        edit-2
        2 days 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
            ·
            1 day 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
              ·
              1 day 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
            1 day 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
              2
              ·
              1 day 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
              1 day 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
                1 day 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
              ·
              1 day 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
                1 day 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’.

  • prole@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    27
    arrow-down
    2
    ·
    2 days ago

    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

    Seems like someone didn’t bother reading any of the documentation… There are like 4 alternative ways to do it, including using apt (in a distrobox).

  • MalReynolds@slrpnk.net
    link
    fedilink
    English
    arrow-up
    58
    ·
    3 days ago

    Bazzite is the better distro because you install things in a distrobox. Muck around, break things in there, but your main distro stays safe, secure and stable.

      • sp3ctr4l@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 day ago

        Bazzite docs repeatedly say ‘do not do that, it will lead to system instability as we update and improve the feature set of our custom rpm-ostree that is the backbone and fundamental core of what Bazzite is.’

        It is supposed to be a static, locked down, readonly core OS, just like SteamOS.

        Its just based on fedora instead of arch, and has a bunch of other customizations and tweaks and preconfigured apps and helper tools.

        • jimmy90@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          1 day ago

          fair point

          https://docs.bazzite.gg/Installing_and_Managing_Software/rpm-ostree/

          so you have to be careful what you add to your base; preferably just self-contained tools that will not interfere with the stability of the system, use distrobox or other container to create larger more sophisticated environments

          i used it for an icon theme, amd gpu info tool, android cli tools. they all come from the fedora repos so play nice with the base and i haven’t run into update issues mentioned in the info page

          it’s also very easy to rpm-ostree reset if you do, so it has that safety net

    • prole@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      2 days ago

      Not really though… Not gonna be that annoying guy and repeat what I and others have said elsewhere in the thread, but you should read some of the replies here.

  • AbsentBird@lemm.ee
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 days ago

    ‘Car’ should have been painted over with white instead of black. The other text already has a white outline. This is hard to read.

  • MidsizedSedan@lemmy.world
    link
    fedilink
    arrow-up
    15
    arrow-down
    1
    ·
    2 days ago

    yt-dlp AND btop isnt on the default app store on Bazzite. Im sure theres a way to get them installed, but it was rather annoying playing my game, watching a video on the side, finding a video that looks worth keeping, and i cant download it

    • prole@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      7
      ·
      edit-2
      2 days ago

      yt-dlp works just fine for me on bazzite. I think I just use the app image? I even made an alias for it in my bashrc file so I only need to type “yt”.

      Some other tips: play around with BoxBuddy (distrobox) for a bit if you haven’t yet.

      You can use apt if you want, just create a Debian distrobox. BoxBuddy allows you to easily create shortcuts to apps installed in distroboxes to run them directly on your host system. So once you create it you never have to mess with the box again if you don’t want to.

      I came from EndeavourOS, so I just made an Arch distrobox that I can use to get packages from the AUR.

      “ujust update” (or the bazzite system updater thing) command will update all of your distrobox images (and any apps installed on them) as part of the process. And if you mess something up, or decide you don’t want it, you just delete the distrobox.

      It’s actually pretty easy, and I think it’s cool that your distro doesn’t really matter anymore.

      • MidsizedSedan@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        2 days ago

        Ive only played with Bazzite for 2 days now. (Got a 2nd hand keayboard last year August. Finally changed the RGB with Bazzite and its OpenRPG tool). If you can set up Desktop mode as the default boot, then it is probably the best distro to reccomend to new users.

        I do have Arch as my main OS installed on another drive, and that does everything else i need.

        • prole@lemmy.blahaj.zone
          link
          fedilink
          arrow-up
          3
          ·
          edit-2
          2 days ago

          It’s good for new users. But it should be noted that does not mean that power users and tinkerers wouldn’t also like it.

          • _cryptagion [he/him]@lemmy.dbzer0.com
            link
            fedilink
            English
            arrow-up
            1
            ·
            2 days ago

            I tinkered around and made an Arch install for myself last year, until I realized that it was just turning into Bazzite but with extra steps, so I went back to Bazzite.

    • muhyb@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      2 days ago

      Yeah, things are different on Bazzite. You can install things via homebrew as well. For yt-dlp use brew install yt-dlp (same command for btop). If something isn’t on homebrew too, there is a distrobox option. If you get used to AUR, Bazzite can be a little tedious.

      • prole@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        3
        ·
        2 days ago

        If you get used to AUR, Bazzite can be a little tedious.

        I just use my Arch distrobox to access AUR if I need to (though I don’t think I’ve had to).

        rpm-ostree is an adjustment, but now that I understand it more and know all of my options for installing packages, I think it’s fantastic.

        • muhyb@programming.dev
          link
          fedilink
          arrow-up
          2
          ·
          2 days ago

          The devs recommend against using rpm-ostree but yeah, distrobox is limitless. It’s just doing things different way. I also like how Bazzite (or Aurora) adds a program as a menu shortcut installed via distrobox, pretty convenient.

          • prole@lemmy.blahaj.zone
            link
            fedilink
            arrow-up
            3
            ·
            edit-2
            2 days ago

            I just mean learning how the ostree shit works in general for the most part. For pinning images and learning how to rollback if needed, etc.

            I try not to install things using rpm-ostree unless absolutely necessary.

            Edit: I probably should have just said “ostree” in the original comment.

  • giacomo@lemm.ee
    link
    fedilink
    arrow-up
    18
    ·
    3 days ago

    its in the ubuntu or debian toolbox. distrobox is pretty freaking awesome.

  • CubitOom@infosec.pub
    link
    fedilink
    English
    arrow-up
    4
    ·
    2 days ago

    Me 10 years ago after deciding to go into the deepend a bit to learn Linux and installing Slackware.

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

      They do specifically, multiple times, in multiple places in the wiki… tell you that you really, really shouldn’t use rpm-ostree unless you absolutely know exactly what you are doing… because you can run into dependency conflict hell, and then the tree build will fuck up.

      Bazzite updates to a newer version of a shared dependency, but something you manually added… has not?

      Or visa versa, your custom thing requires a newer version, or some dependency that is for whatever reason just a conflicting fork of an existing dependency?

      Something is gonna break, potentially lots of somethings.

      • chingadera@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        2 days ago

        I saw that, I’ve been raw doggin it ever since. Maybe one day rpm-ostree would like that have a word with me

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

          Well uh, godspeed i guess, rofl.

          It is good at least that rpm ostree has ways to view and manage such conflicts, and rollback to the bazzite image preset (keeps flatpaks and such intact, i think).

          • chingadera@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            edit-2
            2 days ago

            Lmao that’s how I feel about it. I want to say that rollback isn’t the easiest thing, I’ve tried to boot further down the tree at one point when discord broke (my only rpm install) and immediately got some errors regarding dependencies, so I had to remove it and reinstall it and it seemed fine after that.

            I’ve honestly been thinking about rolling either Debian Ubuntu or arch, but I’m not in a place where I want to fuck with it all again currently.

            Edit: I do appreciate you looking out though

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

              they should alias

              ujust repent-and-seek-absolution

              to some script of thoroughly robust set of rpm ostree conflict identifiers and reset/rollback commands, lol

              EDIT: why distrohop, you have distrobox, Do ThIng There, LOL

              • chingadera@lemmy.world
                link
                fedilink
                arrow-up
                2
                ·
                edit-2
                2 days ago

                There’s just a sloppy amount of bullshit that’s stacked up since my switch from windows, clean slate is tempting. I also miss Apt, ironically enough

                • sp3ctr4l@lemmy.dbzer0.com
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  2 days ago

                  Ah well I gueas thats fair if you… have indeed already fucked your ostree uh, raw, i think that was the word you used.

                  It is kind of annoying to not have that direct control, i get that, and i too am super used to debian based distros and apt after about a decade of being in debian or derivatives.