#

    • MaliciousKebab@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      16
      ·
      edit-2
      1 year ago

      It’s essentially running a linux container on top of your own system. Which means you can use the toolkit of those distros ( for example the package manager of that system) to install apps from their repos, even gui apps. But those containers also has access to your original filesystem so be careful how you use them. Might want to watch Brodie’s video on it.

  • gabriele97@lemmy.g97.top
    link
    fedilink
    English
    arrow-up
    11
    ·
    1 year ago

    I Wish I would have discovered it before. I think it’s very useful when you want to install proprietary software like Matlab or Vivado. With distrobox you avoid to bloat your system and when you want to remove them you simply remove the container

  • aleph@lemm.ee
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 year ago

    It genuinely is. I really like the combination with an immutable OS like OpenSUSE Aeon because you have a super stable base that you can add whatever packages you need to via distrobox.

    • LeFantome@programming.dev
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 year ago

      Think of it as multiple user lands on one distro. So, why?

      What if I really love the stability and familiarity of Debian Stable but applications that are either ancient versions or totally missing in Debian? Well, I could use Distrobox on Debian to get access to the Arch Linux repositories ( the largest collection of Linux software anywhere ).

      What if I do not want to install huge Flatpaks for the above and prefer more traditional package management and more timely updates?

      What if I want to setup a dev or test environment, want to be able to make a mess and remove it later, not also want access to my other tools and files from that environment?

      What if i want to experience other package managers and userlands without having to lose my existing system only to discover I do not like it?

      What if I want to build software for a specific disto and want to access files and tools on my main distribution to do so?

      I am sure there are many, many more reasons.

      Anyway, it is just one way to do things with pros and cons like anything else. Personally, I really like it.

    • GadgeteerZA@beehaw.org
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      Can run yourmain distro as a stable one, but have an unstable or testing version in a Distrobox container sout does not mess your main install.

      If you have non Arch distro, you could run Arch in Distrobox and get to use all the AUR packages.

    • Kekin@lemy.lol
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      One use case I had was I wanted to use STM32 Cube IDE, but it has a dependency on python 2.7 I think it was. I had some trouble installing it on my main OS, but I was able to get it to work on Ubuntu 22.04 running in a Distrobox.

  • neo (he/him)@lemmy.comfysnug.space
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    i couldn’t figure out where the binaries for their systems are kept and that’s really the one thing keeping me from having a great time with distrobox

  • Noodlez@programming.dev
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    I use Distrobox with my NixOS machine for when I need AppImage support (or some random binary that isn’t equipped for Nix’s weird ass directory layout) and it’s amazing! Pretty much native speed, and when I’m done with it I can just wipe it out. Perfect!

      • Noodlez@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        I’m aware, but the appimage I run (Slippi Launcher) will run other appimages, and appimage-run can’t handle that, since it extracts the appimage, then runs the contents, but it won’t automatically do that for other appimages that are run.

        Which is why I used a Distrobox and it was awesome, worked like a charm. I used Arch previously, and I just made an Arch distrobox and it worked perfectly.

  • Spectacle8011@lemmy.comfysnug.space
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    Thank you for sharing this! It was just the thing I needed to get a project setup. Toolbox couldn’t pull the version of Fedora I needed to use for whatever reason, but Distrobox works great and has a much wider selection of distributions.