4 ms·
> The problem it is trying to solve would be better approached hosting Debian, RHEL etc repositories which mirror each other in their structure. I disagree, an
by AlexMax 11y ago
> The problem it is trying to solve would be better approached hosting Debian, RHEL etc repositories which mirror each other in their structure.
I disagree, and I think Linuxbrew fills a different niche.
When you install something from your distro's package manager, you are actually installing another program that happens to come with the operating system. This has two implications:
- It's usually fixed at a particular version for that distro release.
- It's installed into the root filesystem or /usr.
When you compile something from source or download a pre-compiled .tar.gz, on the other hand, it's not something that came with the operating system, it's a third-party package installed by the administrator, and the rules are a bit different:
- You usually grab the latest version or a very specific version from the vendor's website.
- The correct place to put it is usually in /usr/local.
This is where the FreeBSD ports tree puts programs, and this is also where Homebrew puts programs in the OSX version at least. Assuming that Linuxbrew does the same thing, I believe Linuxbrew aims to be the ports tree equivalent for Linux.
- nailer 11y agoBuilding from source and installing packages aren't mutually exclusive. Particularly because of the buildroot stuff for GNU autoconf apps, you can just grab '/' in the build root and get everything installed by the build, then update the %files from that (removing common dirs, so your package doesn't own /usr just because it made buildroot/usr). OTOH if someone said RPM spec format was archaic I'd certainly agree.