3 ms·
Steve, what’s your recommendation for installing and managing Rust releases on macOS in 2018 in a manner that’s compatible with Homebrew? Last time I looked int
by Q6T46nT668w6i3m 9y ago
Steve, what’s your recommendation for installing and managing Rust releases on macOS in 2018 in a manner that’s compatible with Homebrew? Last time I looked into this (early 2017) the recommendation was using rustup outside of Homebrew. Has this changed?
- steveklabnik 9y agoI haven't used macOS as a primary machine in years, so I'm slightly out of the loop on it, honestly. My opinions are basically the same as https://users.rust-lang.org/t/best-way-to-install-rust-on-os-x-rustup-or-brew/6362/2 https://users.rust-lang.org/t/best-way-to-install-rust-on-os... One other note, I heard at least one Homebrew user saying that rustc was compiled from source, and so it takes a really, really long time. I don't know if they've added binary packages, but that'd help.
- Q6T46nT668w6i3m 9y agoThanks for the reply. It sounds like rustup outside of Homebrew is still the best option. I should add, it’s tottaly fine. My only annoyance is that Homebrew’s doctor command complains, but I suppose that’s more of a Homebrew issue.
- papermule 9y agoDevils advocate: I’m the other kind of Mac user who hates homebrew and refuses to use it. Give me a package or bash script to run!
- dfee 9y agoWhat are your problems with homebrew? I have my share of them, but I wonder if your problems are more community oriented, MacOS oriented, or brew itself.
- lilyball 9y ago(Not the parent) I used to love Homebrew, but I recently uninstalled it from my machines and went back to MacPorts. This was motivated by the discovery that the lead maintainer of Homebrew is a huge jerk. The tl;dr is he deliberately took offense at inadvertent rudeness in someone's GitHub comment that they had already edited to remove (he recognized this and quoted the original form from the email anyway), then subsequently threatened to ban them from the Homebrew GitHub organization for politely asking that their issue be reopened, and when I pointed this out, he banned me and deleted the relevant comments.
- rrdharan 9y agoGiven that he self identifies as “often a dick” this doesn’t seem too surprising: https://www.quora.com/Whats-the-logic-behind-Google-rejecting-Max-Howell-the-author-of-Homebrew-for-not-being-able-to-invert-a-binary-tree https://www.quora.com/Whats-the-logic-behind-Google-rejectin...
- lilyball 9y agoThat's Max Howell. He's got his own set of issues, but he's not the lead maintainer of Homebrew anymore. The person I'm talking about is Mike McQuaid.
- papermule 9y agoI used Homebrew back when it wouldn’t work without chowning /usr/local/bin. I’m not sure if that is still a requirement, but it did leave a bitter after taste. Beside that, I like to install packages from their canonical source. That could mean installing Go from golang.org to MariaDB from mariadb.org. It’s simple to compare sha256 checksums, which I suspect is also possible with Homebrew, I just don’t know how.
- orf 9y agoHow about a ruby script to run instead of a bash script? With perhaps a shared repository of them that you could use? Hmm...
- teilo 9y agoMy biggest issue with Homebrew has been it's default prefix: /usr/local. Too many other packages put stuff there, and cause Homebrew breakage. This is why I put Hombrew in /opt/homebrew. Despite the freakout warnings about this potentially breaking homebrew packages, I have never had an issue.
- tomjakubowski 9y agoHomebrew has made binary packages (“bottles”) for rust available for as long as I can remember. You might want to build from source if you’d rather use Homebrew’s LLVM than the one bundled with Rust.
- steveklabnik 9y agoGreat, the person I was helping must have just made a huge mistake then :)
- sirodoht 9y agoI use rustup and works perfectly. Why do you want a Homebrew-compatible manner and why rustup is not?
- AsyncAwait 9y agoAdding my own experience, rustup works well on macOS and I don't have any issues with brew doctor either.