6 ms·
> since it's as much as Unix system utility like awk or sed as a programming language. Even those tools suffer from Apple's lack of fucks given. I often have t
by unknown_error 5y ago
> since it's as much as Unix system utility like awk or sed as a programming language.
Even those tools suffer from Apple's lack of fucks given. I often have to replace included system commands with the homebrew equivalent because Apple's is missing some common functionality.
I wish Apple would just adopt homebrew as a firstparty package manager.
- brigandish 5y agoI'd plump for Macports or pkgsrc long before Homebrew.
- zodiakzz 5y agoHomebrew should first come up with basic functionality... like you know not assuming the OS will only have one user account ever. I was quite shocked when I found this out about the oh so amazing package manager. Before someone shares some bizarre workaround: no thanks.
- brigandish 5y agoThe last time I bothered with it, it complained about my use of `sudo` but wouldn't run unless I was logged in as admin - not a temporary bump, just logged in as an admin. Sudo isn't alright but running as admin is…? I really can't work that one out. It also broke so I uninstalled it. When I need to I go straight to their formulas and install by hand, as a non-admin user.
- smoldesu 5y agoThe issue (in my experience) is that neither Homebrew nor Macports provide a "full fat" package management experience like pacman or even apt. Not only are they missing packages, they're missing features and are loaded with outdated builds. If Apple made a first-party package manager that didn't suck, I'd probably have a Mac on my desk today.
- donarb 5y agoHomebrew is a piece of crap. There's no away to install specific versions of software (unless you dig through the git repo and install using a commit hash). It has a scorched earth policy of wiping out dependencies willy nilly. One time I installed Python 3.8 and it wiped out the version of openssl used with Python 3.7 I used for a client project.
- unknown_error 5y agoYou can actually `brew search python@` to see the available versions (major/minor only, not patch) and then `brew install python@3.7` to install an older version. Caveat is that this depends on someone having made a separate formula, under the correct versioned naming scheme, and uploaded it to homebrew. There doesn't seem to be a python2 formula, for example. I think it's a difference in philosophy? Brew does a "good enough" job for the most common use case, supplementing Apple's janky *nix environment with commonly-needed tools, without a built-in package manager. It doesn't try to do complex simultaneous versions... in my (admittedly limited) experience, if you need to do that, you either do that in something like a project-based setup (npm/composer) or in a VM/container with its own packages. In your situation, when you have multiple pythons running in the same environment, how does anyone given script know which one to call? What's a better way of doing this?
- Wowfunhappy 5y agoMacPorts did receive official resources from Apple for a long time. Then they stopped.
- Hamuko 5y agoApple did toss some ARM machines (DTKs I believe) to the Homebrew project.
- sixothree 5y agoYou could use homebrew to install powershell.
- mthoms 5y agoI can’t tell if you’re joking or this is actually possible. Is it?
- benbristow 5y agohttps://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-core-on-macos?view=powershell-7.1#installation-of-latest-stable-release-via-homebrew-on-macos-1013-or-higher https://docs.microsoft.com/en-us/powershell/scripting/instal... From the horse's mouth You can also install it on Linux if you wish.