TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Homebrew 1.9.0

241 pointsby mikemcquaidover 6 years ago

13 comments

LeonMover 6 years ago
Automatic cleanup sounds like a major improvement. It&#x27;s almost scary how much disk space is used by Brew if you don&#x27;t&#x2F;didn&#x27;t run cleanup periodically.<p>Since I don&#x27;t install &#x27;mission critical&#x27; application through brew, I&#x27;ve always had the following command run daily though a cronjob:<p><pre><code> brew update &amp;&amp; brew upgrade &amp;&amp; brew cleanup</code></pre>
评论 #18865442 未加载
评论 #18864633 未加载
评论 #18864965 未加载
评论 #18864609 未加载
评论 #18867074 未加载
评论 #18864599 未加载
评论 #18865603 未加载
评论 #18864793 未加载
评论 #18865675 未加载
paultopiaover 6 years ago
I really wish these release notes would explain what is going on for people who don&#x27;t know the internals of homebrew. Especially since homebrew force-updates itself and there&#x27;s no way for users to avoid these changes.[1]<p>There are several updates in here that make me worry that this is somehow going to break my environment or otherwise bite me in the ass when I do something innocent like install Ghostscript and find that Emacs no longer works and to figure out how to fix it&#x27;s going to be hours of reading github issues. Which is an experience I&#x27;ve had before, repeatedly.<p>&quot;brew update no longer migrates legacy keg symlinks, tap names, repository locations, cache locations or cache entries.&quot;<p>Is this going to break something I installed years ago? Maybe the homebrew maintainers know, but average tool users don&#x27;t.<p>&quot;Homebrew&#x2F;homebrew-core requires all formulae to be open source by the OSI definition.&quot;<p>Does this mean that something I used homebrew to install in a previous version will no longer be getting updates? Will things that depend on it still be getting updates? Does whether or not updates happen depend on some random committer&#x27;s legalistic interpretation of an open source definition? Why exactly is this kind of purist decision being imposed on users?<p>[in 2.0] &quot;brew cleanup will be run periodically and for trigger individual formula cleanup on reinstall, install or upgrade. You can enable this behaviour now on 1.9.0 by setting the HOMEBREW_INSTALL_CLEANUP variable.&quot;<p>So you&#x27;re going to periodically make maintenance changes to my system without my permission. Goodie.<p>Someone really needs to write a guide to migrating away from homebrew for people in the unfortunate situation of having used this tool for a long time, and find it taking more and more liberties with one&#x27;s computer, but also having numerous essential packages now managed by it and not sure how to move to alternatives without weeks of breakage.<p>[1] <a href="https:&#x2F;&#x2F;paultopia.github.io&#x2F;posts-output&#x2F;anti-homebrew&#x2F;" rel="nofollow">https:&#x2F;&#x2F;paultopia.github.io&#x2F;posts-output&#x2F;anti-homebrew&#x2F;</a>
评论 #18864737 未加载
评论 #18864645 未加载
评论 #18865487 未加载
评论 #18865435 未加载
__lm__over 6 years ago
Good job! Homebrew is, at least for me, essential for using macOS as a true *nix, and most of the changes (implemented or proposed) seem good (e.g., the ability to automatically run cleanup)<p>I am a little bit worried for the removal of all options that is planned for the 2.0.0 version: I have some formulae installed from source (with additional options) and I like the flexibility that they give. Hopefully the migration to an &quot;options-free&quot; Homebrew will be smooth and some alternative when options are needed (not requiring a lot of third-party taps) will emerge.
评论 #18865425 未加载
评论 #18864948 未加载
评论 #18864809 未加载
balacover 6 years ago
I wonder why Linux users would want to use Homebrew? Are the packages not available via the normal Linux package managers?
评论 #18864133 未加载
评论 #18864062 未加载
评论 #18864129 未加载
评论 #18864128 未加载
评论 #18864102 未加载
评论 #18864230 未加载
评论 #18865915 未加载
评论 #18865564 未加载
评论 #18864268 未加载
评论 #18865172 未加载
评论 #18864465 未加载
zchrykngover 6 years ago
Really not a fan of the removal of options, imo it is one of the greatest perks of homebrew. Can I manually build my own software? Yes. Do I want to have to maintain a tap for every single thing I want to use options on? No, I do not.<p>This move along with the python2 vs python3 change that was made previously has left a seriously sour taste in my mouth about Homebrew. I&#x27;m actively looking at other options.
评论 #18869559 未加载
bhaakover 6 years ago
&gt; Homebrew 1.9.0 no longer runs on 32-bit Intel CPUs.<p>Where does this constraint come from? Homebrew is written in Ruby.<p>To cut down on compilation from source issues? Or Homebrew uses language features from Ruby versions greater than what Apple shipped in their latest 32-bit supported OSX versions (as homebrew insists on using the system default binaries)?
评论 #18864209 未加载
评论 #18864203 未加载
评论 #18864929 未加载
nxrablover 6 years ago
Windows support! That&#x27;s a surprise.<p>Chocolatey is... ok. It works, mostly, but it&#x27;s a common occurrence for upgrades to fail because the package maintainer forgot to update the hash, or the program&#x27;s built-in autoupdater already ran and moved things around, or a phantom .install dependency is missing, or some other inscrutable problem. Competition will be good for it (and the developer sells a premium version, so I do expect proper competition). All the other package management tools on windows have fairly tiny repositories and are, as far as I can tell, optimized for the workflow of sysadmins building images.<p>I wonder if Brew has any plans to support that package management framework Microsoft is apparently still working on? (<a href="https:&#x2F;&#x2F;github.com&#x2F;OneGet&#x2F;oneget" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;OneGet&#x2F;oneget</a>)
评论 #18865627 未加载
评论 #18865682 未加载
评论 #18865863 未加载
chmaynardover 6 years ago
&gt; brew link --force will not link software already provided by macOS.<p>An explanation for this change would be useful.
评论 #18864037 未加载
评论 #18864711 未加载
评论 #18864146 未加载
评论 #18864225 未加载
nisuniover 6 years ago
Remember that Homebrew by default records some of your usage data via Google Analytics. Disable that if you are not comfortable, or switch to MacPorts.
favadiover 6 years ago
Technically speaking, why would anyone wants to use brew on linux over snap or nix?
评论 #18864426 未加载
risover 6 years ago
My saviour when forced to use a Mac recently has been Nix. Homebrew has only ever caused me pain.
daveFNbuckover 6 years ago
It&#x27;s a bit weird how they&#x27;re announcing a new mission statement about how this is a small focused project for macOS at the same time they&#x27;re announcing Windows and Linux compatibility.
评论 #18872106 未加载
sashkover 6 years ago
Is it me or homebrew became slower recently?<p>I recall that some commands where much faster. It takes on average 2.5 seconds to do brew search.<p>$ time brew search mpv ==&gt; Formulae mpv<p>==&gt; Casks mpv brew search mpv 2.34s user 0.59s system 67% cpu 4.348 total<p>This is not autoupdate — this is with set HOMEBREW_AUTO_UPDATE_SECS to 14400.
评论 #18867012 未加载