News for hackers. Stuff that matters.
Re:Homebrew 1.0.0 by Flimm on Wednesday September 21, 2016 @06:14AM (#12546821)
I'm excited about Homebrew potentially coming to Linux. When I first started using OS X more regularly, I was surprised by how better an experience OS X + Homebrew is compared to Ubuntu/Debian repositories + PPAs/third-party repositories.
Re:Homebrew 1.0.0 by strictfp on Wednesday September 21, 2016 @08:20AM (#12547483)
My experience is quite the opposite. Lots of missing packages in brew compared to debian. And brew has been nothing but trouble for all the devs in my team. It keeps messing up /usr/local permissions for some reason. And if you don't update brew frequently it will bork itself. Apt-get or better yet aptitude is rock solid.
Re:Homebrew 1.0.0 by rocket69 on Wednesday September 21, 2016 @08:59AM (#12547732)
They are more solid, but never up to date with new bits, so you're stuck managing your own curated list of ppa's.
Re:Homebrew 1.0.0 by stephenr on Wednesday September 21, 2016 @12:08PM (#12549486)
Apt is as up to date as the repo you point it at.

It's pretty common to use Debian stable and vendor/community repos for specific packages you want more up-to-date packages of.

Re:Homebrew 1.0.0 by pcr0 on Wednesday September 21, 2016 @06:19AM (#12546842)
Isn't it there already?

https://github.com/Linuxbrew/brew

Re:Homebrew 1.0.0 by Flimm on Wednesday September 21, 2016 @06:27AM (#12546867)
I don't know much about Linuxbrew, but that looks like a fork, not Homebrew officially supporting Linux.
Re:Homebrew 1.0.0 by mikemcquaid on Wednesday September 21, 2016 @10:32AM (#12548467)
We're attempting to merge the two projects so eventually Linuxbrew/brew can go away. It's a relatively slow process, though.
Re:Homebrew 1.0.0 by DeadBabyOrgasm on Wednesday September 21, 2016 @04:13PM (#12551815)
What about chromebrew [0] (homebrew for chrome os)?

[0]: https://github.com/skycocker/chromebrew

Re:Homebrew 1.0.0 by mikemcquaid on Thursday September 22, 2016 @04:09AM (#12555314)
It doesn't appear related so would be hard to merge.
Re:Homebrew 1.0.0 by DeadBabyOrgasm on Thursday September 22, 2016 @09:23AM (#12556629)
Really? From a user standpoint it seemed very similar.

Either way, I'd definitely be interested in something like homebrew for ChromeOS. Guides for cross-platform capabilities would be most welcome!

Re:Homebrew 1.0.0 by Nursie on Wednesday September 21, 2016 @09:01AM (#12547742)
Why?

By which I mean that apt is fantastic AFAICT and totally integrated into Ubuntu and Debian. Why would you want a third party package manager?

Re:Homebrew 1.0.0 by bm5k on Wednesday September 21, 2016 @10:44AM (#12548586)
The apt user experience is terrible compared with brew.
Re:Homebrew 1.0.0 by Nursie on Wednesday September 21, 2016 @11:18AM (#12548950)
How so?

The interface seems more or less identical to me.

I'm not going to deny it's good and brings great stuff to the Mac, I'm just not seeing the advantages.

Re:Homebrew 1.0.0 by bm5k on Wednesday September 21, 2016 @12:26PM (#12549668)
Other than "in every way possible"?

The only thing that is as easy in apt as brew is installing packages.

Searching, getting info about a package, updating the list of available packages, are all much easier with homebrew.

Re:Homebrew 1.0.0 by kasabali on Tuesday September 27, 2016 @09:11AM (#12589319)
> Searching

apt search ....

> getting info about a package

apt show <package>

> updating the list of available packages

apt update

> are all much easier with homebrew

You gotta be kidding me

Re:Homebrew 1.0.0 by saurik on Wednesday September 21, 2016 @02:48PM (#12551081)
A reasonable thing to do would be to decide what the deficiencies are and first try to talk to the developers of APT about fixing them, and then as a second (lesser) option potentially deciding to make a higher-level wrapper or supplementary tool which helps these use cases. A totally unreasonable thing to do would be to attempt to replace the entire APT ecosystem with a different tool.
Re:Homebrew 1.0.0 by mikepurvis on Wednesday September 21, 2016 @08:06AM (#12547391)
What don't you like about PPAs? I find them a great experience as both a user and maintainer.
Re:Homebrew 1.0.0 by kminehart on Wednesday September 21, 2016 @09:42AM (#12548045)
I disagree that they are a "great experience" for users.

Here's my experience with PPAs:

1. Is it already in the Ubuntu / Debian repositories? Nope.

2. Search google for "Ubuntu <package name>".

3. Find some random website like some stack exchange question that tells me what couple of commands to run to get it into my repositories, or risk trying to navigate this disaster of a site.[1]

4. Finally, install the package!

On the other end of the spectrum, (this may be unfair and biased because this is what I"m familiar with), on Arch Linux, to get community maintained packages:

1. yaourt <package name>

2. hit corresponding number

3. answer prompts. (This step gives me the opportunity to analyze the build scripts if I so choose, which includes the source location.)

4. done.

[1]https://launchpad.net/ubuntu/+ppas

Edit: Actually that's not really a fair comparison. I forgot that Arch does not come with yaourt preinstalled. I would have the same complaints about downloading the tarball, unzipping, makepkg, and installing the package on Arch, so take my complaints with a grain of salt. I'm sure it's a good experience with a similar tool on Ubuntu.

Re:Homebrew 1.0.0 by jacobsenscott on Wednesday September 21, 2016 @12:15PM (#12549548)
Apt is the second worst linux package manager. RPM is the first worst.
Re:Homebrew 1.0.0 by aorth on Wednesday September 21, 2016 @02:42PM (#12551042)
`apt` isn't that bad, really—it's been available for a year or two now, and will likely replace apt-get and friends eventually (apt-cache, dpkg, dselect, are pretty horrible user experience really). RPM hasn't been a package manager for like 10 years—now it's just a package format. `yum` and its successor `dnf` are actually fantastic package managers on Red Hat family stuff.
Re:Homebrew 1.0.0 by strictfp on Wednesday September 21, 2016 @04:32PM (#12551950)
IMO yum is slow as molasses, feature poor and really bad at resolving conflicts. Haven't tried dnf though.
Re:Homebrew 1.0.0 by paublyrne on Wednesday September 21, 2016 @07:20AM (#12547114)
I don't use Linux myself, but am curious as to why this has been so heavily downvoted.
Re:Homebrew 1.0.0 by cupantae on Wednesday September 21, 2016 @08:17AM (#12547459)
I personally don't use Mac OS(X), but what I understand is that Homebrew is a project designed to give the functionality of a Linux command-line package manager to OSX.

For most (all? Slackware...) Linux distributions, there is ONE package manager: for Debian/Ubuntu it's APT, for Arch it's Pacman, for RedHat & friends it's RPM, etc. There is exactly one, because all the files which aren't user data or configuration are owned by some package or other. It's all well and good when there's a clear need for this on OSX, and so Homebrew must keep up to date with the official software management and keep itself contained, not breaking anything. Having a second package manager on Linux, which doesn't treat Linux as the main target platform, seems both pointless and asking for trouble.

Alternatively, you could be harsh and figure that the downvoters were saying, "No, you don't prefer Homebrew. You prefer your distribution's package manager, and thou shalt use it correctly."

Re:Homebrew 1.0.0 by amorphid on Wednesday September 21, 2016 @09:40AM (#12548031)
My issue with those APT on Debian is that I almost always have to add another PPA to download a version of something that I actually want to use. That reduces the utility of APT in my view. Having a crowdsourced list of Homebrew packages to install would be fabulous.
Re:Homebrew 1.0.0 by tracker1 on Wednesday September 21, 2016 @02:25PM (#12550876)
Not only that, but a lot of those PPAs become stale, or get replaced by others, and it's only when you upgrade the dist, that you get failures and discover this... It's pretty annoying. It would be nice to have a meta package manager for "current" PPAs for given projects that wraps apt with brew-like ability.
Re:Homebrew 1.0.0 by DeadBabyOrgasm on Thursday September 22, 2016 @11:21AM (#12557425)
Additionally, creating and maintaining a PPA involves one of the following:

(a) Use the upload form for Launchpad.net [0]

(b) Host your own deb server [1]

Unless you use Bazaar for a VCS, the only time you login to Launchpad is to upload a new release. With Homebrew it's built into git with adding a new tag. A _LOT_ lower barrier to entry here.

[0]: https://help.launchpad.net/Projects/FileDownloads#Publishing...

[1]: https://www.unixmen.com/setup-local-apt-repository-using-ins...

Re:Homebrew 1.0.0 by paublyrne on Wednesday September 21, 2016 @08:27AM (#12547531)
Ha, thanks that's a comprehensive answer. Maybe have been a bit of both, looks like the downvotes have been countered now anyway.
Re:Homebrew 1.0.0 by khattam on Wednesday September 21, 2016 @08:14AM (#12547435)
I guess it is because default linux package managers already do a great job.
Re:Homebrew 1.0.0 by Derbasti on Wednesday September 21, 2016 @08:13AM (#12547431)
Because Linuxes have their own package managers already, and Linuxers are outraged that some macOS freak is invading their lawn with an alternative.