I’m especially concerned about it being somehow broken, unwieldy, insecure or privacy-invasive.

Case in point; at times I have to rely on a Chromium-based browser if a website decides to misbehave on a Firefox-based browser. Out of the available options I gravitate towards Brave as it seems like the least bad out of the bunch.

Unfortunately, their RPM-package leaves a lot to be desired and has multiple times just been awful to deal with. So much so that I have been using another Chromium-based browser instead that’s available directly from my distro’s repos. But…, I would still switch to Brave in an instant if Brave was found in my distro’s repos. A quick search on repology.org reveals that an up-to-date Brave is packaged in the AUR (unsurprisingly), Manjaro and Homebrew. I don’t feel like changing distros for the sake of a single program, but adding Homebrew to my arsenal of universal package managers doesn’t sound that bad. But, not all universal package managers are created equal, therefore I was interested to know how Homebrew fares compared to the others and if it handles the packaging of the browser without blemishing the capabilities of the browser’s sandbox.


P.S. I expect people to recommend me Distrobox instead. Don’t worry, I have been a staunch user of Distrobox for quite a while now. I have also run Brave through an Arch-distrobox in the past. But due to some concerns I’ve had, I chose to discontinue this. Btw, its Flatpak package ain’t bad either. But unfortunately it’s not official, so I choose to not make use of it for that reason.

  • sir_reginald@lemmy.world
    link
    fedilink
    arrow-up
    10
    ·
    edit-2
    1 year ago

    I’d advise against using Brave, but that’s a different topic.

    Just use the Flatpak. Do not care if it’s official, most packages in traditional package managers are not packaged officially, yet we use them all the time. Check the Flatpak repo instead to check if there’s something wrong.

    Maybe check ungoogled chromium too while you’re at it.

    • alt@lemmy.mlOP
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      most packages in traditional package managers are not packaged officially, yet we use them all the time.

      While there’s definitely truth in this, aren’t we already trusting the repos of traditional package manager by choosing to use the associated distro? So, by e.g. choosing to use Debian , you’ve already (somehow) accepted their packages to be ‘thrustworthy’. We already trust the developers of the apps/binaries we use. Therefore, we have two sets of parties we trust by default. I would rather not increase the amount of people I have to trust for software, but I can understand why others might differ on this.

      • stella@lemm.ee
        link
        fedilink
        arrow-up
        2
        arrow-down
        1
        ·
        1 year ago

        Yes, the main source of trust is in the repository and its maintainers when choosing a distro.

  • tvcvt@lemmy.ml
    link
    fedilink
    arrow-up
    5
    ·
    1 year ago

    My only experience with homebrew is on macOS and I’ve switched to MacPorts there. Homebrew did some weird permissions things I didn’t care for (chowned all of /usr/local to $USER, if I’m remembering right). It worked fine on a single user system, but seemed like a bad philosophy to me. This was years ago and I don’t know how it behaves on Linux.

    I also prefer Firefox, but when I need a Chromium alternative for testing, I opt for the flatpak (or the snap) version personally.

    • Avid Amoeba@lemmy.ca
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Based on what I saw on macOS I wouldn’t touch Homebrew with a 10 feet pole. We have proper packaging systems in the Linux world. The Chromium snap is supported by Canonical so that’s a great candidate for anything that comes with snap or can use snap. If I couldn’t use snap, I’d use the Chromium flatpak from Flathub.

    • alt@lemmy.mlOP
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Nix is definitely cool and I already have it installed on my system. Unfortunately, even Nix has trouble with keeping Brave up-to-date at all times. It’s still on 1.59.120, while Brave has had three releases since. It took about 3 days after the release of version 1.59.120 for them to release it on their repos. As you can see, it leaves a lot to desire.

  • stella@lemm.ee
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    Not sure why you would want to.

    Linux package managers are state of the art.

    • alt@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      1 year ago

      Not sure why you would want to.

      😅, it’s explained in OP.

      Linux package managers are state of the art.

      I wonder if Nix-users would agree 🤔.

  • Helix 🧬@feddit.de
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    What does Brave give you what the other Chromium based browser doesn’t have? Maybe you can install add-ons instead?

    • alt@lemmy.mlOP
      link
      fedilink
      arrow-up
      2
      arrow-down
      2
      ·
      edit-2
      1 year ago

      What does Brave give you what the other Chromium based browser doesn’t have?

      Brave is known to take privacy (and security) more seriously than its contenders. It’s therefore unsurprising to find it recommended by Privacy Guides. Some of its unique features related to privacy can be found here.

      Maybe you can install add-ons instead?

      Excellent extensions like uBlock Origin heavily rely on Manifest v2 in order to do their bidding. Unfortunately, Chromium intends to stop supporting it. Which will inevitably lead to many Chromium-based browsers to follow the lead and stop supporting it as well. At least Brave has confirmed multiple times to support Manifest v2 longer. Furthermore, I’m not aware of any extension that does an equally excellent job at spoofing your fingerprint randomly. Though, I’d love to be corrected on that.

      • Helix 🧬@feddit.de
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 year ago

        Brave is known to take privacy (and security) more seriously than its contenders.

        Nice, their marketing works. If you really cared about privacy you’d probably use something like Librewolf, which is not proprietary.

        Excellent extensions like uBlock Origin heavily rely on Manifest v2 in order to do their bidding. Unfortunately, Chromium intends to stop supporting it.

        It works without issues in Firefox and similar browsers like Librewolf.

        • alt@lemmy.mlOP
          link
          fedilink
          arrow-up
          2
          arrow-down
          1
          ·
          1 year ago

          Nice, their marketing works.

          You can’t deny its merits. At best you can question their integrity based on bad business-practices in the past. Their CEO being “X” and doing “Y” does not inherently make the software bad.

          If you really cared about privacy you’d probably use something like Librewolf, which is not proprietary.

          From OP: “at times I have to rely on a Chromium-based browser if a website decides to misbehave on a Firefox-based browser

          • Helix 🧬@feddit.de
            link
            fedilink
            arrow-up
            3
            ·
            1 year ago

            You can’t deny its merits.

            Yes, yes I can. It’s proprietary and doesn’t do anything better than Firefox or Librewolf. The latter even has an active community on Lemmy.

            Their CEO being “X” and doing “Y” does not inherently make the software bad.

            I didn’t even mention the CEO, you must have confused my reply. It’s the product being X and doing Y which I don’t like.

            • alt@lemmy.mlOP
              link
              fedilink
              arrow-up
              2
              ·
              edit-2
              1 year ago

              doesn’t do anything better than Firefox or Librewolf.

              Besides the fact that some sites misbehave on Firefox(-based browsers), it does if you’re actually security sensitive; Chromium’s sandbox is simply superior to Firefox’.

              I didn’t even mention the CEO, you must have confused my reply. It’s the product being X and doing Y which I don’t like.

              It’s true that you didn’t mention anything regarding its CEO, but I assumed your comment might be related to it. It seems not to be the case; my bad for assuming and mentioning it and thank you for clearing yourself from that ‘allegation’!

              Would it be fair to assume that your primary gripe with Brave is its (at best) controversial stance regarding the ‘open’ source nature of their product?

              • Helix 🧬@feddit.de
                link
                fedilink
                arrow-up
                3
                ·
                edit-2
                1 year ago

                Yes, and the business practices of the company making it which broke my trust to the point of me assuming they wouldn’t be above breaking the law in compiling spyware or other malware into their closed source product for profit.

                • alt@lemmy.mlOP
                  link
                  fedilink
                  arrow-up
                  2
                  ·
                  edit-2
                  1 year ago

                  Thanks for clarifying!

                  they wouldn’t be above breaking the law in compiling spyware or other malware into their closed source product for profit.

                  I might misremember this, but wasn’t it only something like a key (or something similar) that they held to themselves? And if so, is it even sensible that spyware can be put in their ‘key’?

      • kraniax@lemmy.wtf
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Brave is known to take privacy (and security) more seriously than its contenders. It’s therefore unsurprising to find it recommended by Privacy Guides.

        At least in the privacy community, Brave isn’t super popular. It feels more geared towards the “hyped crypto early adopters”. Brave inclusion in privacy guides has always been controversial.

        Brave is ultimately an advertising company, they base their business model in ads. And everyone knows how bad that can turn.

        Ungoogled Chromium on the other hand takes patches from brave and other Chromium based browsers, removing every bit of telemetry and giving you the cleanest experience you can get on Chromium, without relying on a shady company.

        • alt@lemmy.mlOP
          link
          fedilink
          arrow-up
          1
          arrow-down
          3
          ·
          1 year ago

          Brave is ultimately an advertising company, they base their business model in ads. And everyone knows how bad that can turn.

          Seems more like FUD, but sure.

          Ungoogled Chromium on the other hand takes patches from brave and other Chromium based browsers

          In the past it was simply dismissed due to reasons mentioned here. I don’t have any qualms against Ungoogled Chromium, so I’m not opposed to using it if the stated reasons have been cleared since. But I’ve never got any confirmation on that.

  • Yote.zip@pawb.social
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    I use a few packages from Homebrew and don’t have any problems with it. By default it installs itself into /home/homebrew or something which I didn’t like so I put it into ~/Applications/Homebrew instead using these steps. It warns that you may be forced to compile software if you do it this way but I’m down to clown so whatever.

    The biggest problem I have with it is that you’ll need to keep it updated alongside your regular packages, which I do by aliasing a simple upgrade command that runs all my package manager upgrades.

    I would also recommend ungoogled-chromium as an alternative to Brave, which does have its own official Flatpak (not marked as such but it’s linked to in the ungoogled-chromium project github).

  • Irdial@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    I’ve been using Homebrew on Linux for several years and never had an issue. As others have said, it will not be able to provide GUI applications (in most cases) as on macOS, but it is a great way to get system and indie software alike

  • agitated_judge@sh.itjust.works
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    Last time I checked, homebrew on Linux only included cli apps. GUI apps are only available on mac. So you couldn’t use it to install a browser anyway.

    • stella@lemm.ee
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Utilities that manage packages on your system.

      Graphical ones include Pamac and Synaptic.

      The command-line ones are more known: apt (debian), pacman (arch), rpm (fedora), and yum (suse)

    • alt@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      1 year ago

      I feel a bit lazy at the moment, but Brodie does IMO an excellent job at explaining what a package manager is within the context of Linux. I’d recommend you to watch that instead over here; it’s already set to play at the correct time*.

  • Krause [he/him]@lemmygrad.ml
    link
    fedilink
    arrow-up
    3
    arrow-down
    3
    ·
    edit-2
    1 year ago

    I tried Homebrew once in a VM and didn’t like it, I felt it was too invasive.

    1. https://github.com/Homebrew/install/blob/85c5f4b57452dbd1c7ebc01a021548d2ceaf2b64/install.sh#L173

    Why does it create another user and put files under /home/linuxbrew/? Answer:

    The script installs Homebrew to its default, supported, best prefix (/opt/homebrew for Apple Silicon, /usr/local for macOS Intel and /home/linuxbrew/.linuxbrew for Linux) so that you don’t need sudo after Homebrew’s initial installation when you brew install.

    Where’s the logic in that? Why not just install to the user’s home directory so that you don’t even need root access in the first place?

    1. https://github.com/Homebrew/install/blob/85c5f4b57452dbd1c7ebc01a021548d2ceaf2b64/install.sh#L222

    Why is sudo hard-coded? Answer: it’s to prevent people from using doas and other sudo alternatives.

    1. https://docs.brew.sh/Installation#untar-anywhere-unsupported

    Why is installing from the tarball unsupported and so frowned upon? FFS isn’t this just supposed to be a package manager? Why is everything so complicated and opinionated when compared to pip, cargo, Flatpak, etc? Compare this mess to Golang’s install and uninstall process where you literally just need to tar -xzf a file or rm -rf a directory.

  • Keith@lemm.ee
    link
    fedilink
    arrow-up
    0
    arrow-down
    1
    ·
    1 year ago

    Brave homophobic though

    It is the best Chromium based browser, in a sense, unfortunately…

    • alt@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      arrow-down
      3
      ·
      1 year ago

      Brave homophobic though

      Its CEO; yes.

      It is the best Chromium based browser, in a sense, unfortunately…

      Agreed.