If you’re using linux and also use brew package manager on your machine, what is your use case? I’m curious why people would use brew in addition to their distribution’s native package manager.

  • hayk@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    1 year ago

    whoever says pacman is enough either have all the time in the Universe to configure the miniscule knobs or have never done serious development with multi-platform/compiler deployments. controlling which compilers are used for which packages in pacman (or any other default package manager for that matter) is a headache. having multiple versions of non-conflicting gcc, llvm, cuda etc is priceless and very easy with brew.

    elitism aside, brew is genuinely a good package manager when it comes to imperative ones. I still use it on my desktop arch extensively. ofc, if you have nix, there is really no good reason for it (and I’m not even sure it’s possible).

    PS. “but you can use docker” – not if you want to have the same performance especially on GPUs. also have you ever tried containerizing HIP? it’s a frigging nightmare.

    PPS. if you disagree with the first paragraph – please reach out or send links. i’d love to learn how to do these on finite timescales of our lifetime.

  • calm.like.a.bomb@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 years ago

    I’m using it on Ubuntu and Debian on WSL - I have a Windows 11 laptop at my job, but I do most of my work on linux, so I chose to use Ubuntu and Debian, but I needed some packages that are not up to date with the native package manager, so I went with brew and I can say it’s very good!

      • thingsiplay@beehaw.org
        link
        fedilink
        arrow-up
        0
        ·
        2 years ago

        Well a comment like this will not help in your case, calling people idiots is not nice. Most on Linux sub don’t like Windows, you should expect this. No need to get furious about random internet points. I also don’t like Windows, but wish you best luck with it. At least you are using Linux on it. Just ignore people who hate YOU for that.

  • just_another_person@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

    I will if it’s an obscure package that has a recipe, otherwise I avoid it to keep my paths as clean as possible. It can end up making a confusing mess of things if you accidentally install something via other means that also gets installed by brew as a dependency, as an example.

  • catloaf@lemm.ee
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 years ago

    I don’t, but people probably do because the package(s) they want are more available in that system.

    It’s primarily for Macs, isn’t it? Cross-platform availability is probably a factor.

  • phantomwise@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 years ago

    OF COURSE there has to be yet another package manager I didn’t know about on top of the dozen other ones… 😑

    • thingsiplay@beehaw.org
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      I still don’t get Docker. Can we see it as a universal package format that works across all systems, kind of? Well in that regard, we also have JavaScript based applications for the web browser and Web Assembly to run locally too.

      • Avid Amoeba@lemmy.ca
        link
        fedilink
        arrow-up
        0
        ·
        2 years ago

        It’s more than a packaging format but yes. It includes all dependencies needed to run the main program in a container but the kernel. It’s a complete separate root filesystem. When you run it, as intended, a single process is started which loads all the things it needs from that filesystem. It’s isolated from the rest of the system unless you share resources with it, like directories or special devices. Obviously this results in larger packages but there is a clever way to save on that overhead with layering, so in practice while still significantly larger than single program deb files, it’s not nearly as bad as it sounds. The thing is that Flatpak and Snap also package dependencies to a different degree.

  • pogodem0n@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

    I am using an atomic distribution (uBlue) and installing packages with homebrew is much more convenient than overlaying them with rpm-ostree.