5 ms·
The main problem is that the majority of software in the Windows and Mac world doesn't come in a "package-manager" format, not really. For *BSD and Linux, the
by bombcar 5y ago
The main problem is that the majority of software in the Windows and Mac world doesn't come in a "package-manager" format, not really.
For *BSD and Linux, the package manager is great because if you can think of it, it's probably there ready to be installed; as long as it's software like TeX or emacs or vi or something else available in an open-source way.
But stand-alone programs? Not even things like Photoshop, I'm talking something written by someone and you want to install it? That's not as compatible with the Linux method, but Windows and Mac both have standard procedures and installers for them. Snap tries to do something here, but it's a complete joke.
And homebrew (and anything equivalent for WSL?) works pretty well.
- emn13 5y agoI've not used macs for a few years, but has homebrew become a lot better then? Because my recollection of it is that it worked fine for small sets of well-maintained packages, but it's much, much slower than the linux package managers, and there were tons of compatibility issues once you even slightly left the beaten path. Also, I remember fighting with many apple CLI tools; they seemed to be wildly out of date with the comparable linux tooling, to the point that you sometimes needed to homebrew something technically already part of the base OS just to get other things working (e.g. IIRC bash) Incidentally, on windows there are the beginnings of package managers nowadays, e.g. chocolatey. They're nothing like as good as those in linux, but better than nothing. Chocolatey's focus isn't quite the same as homebrew, however, so they're not strictly comparable.
- bombcar 5y agoIt ... "works". For most things you may want, it works pretty well, but it's not at advanced as even Gentoo's portage, and once you leave the beaten path it can be all sorts of hell trying to figure out how exactly to compile something yourself. However, I've experienced the same on Ubuntu and RedHat - if they don't have what you want in a repo already, and you can't find one providing it, trying to roll your own can cause all sorts of fun explosions. Anything GPL included with MacOS is stuck at the GPL v2 - since many things like bash went to v3 they don't update anymore; one of the reasons MacOS changed to zsh as the default shell.
- smoldesu 5y ago> But stand-alone programs? Not even things like Photoshop, I'm talking something written by someone and you want to install it? That's not as compatible with the Linux method There's definitely some room for improvement here, but fwiw you can double-click executables on Linux to run them just like you would on Windows (or to an extent, MacOS). I think the "solution" here is not to rely on portable software, and when you do need to rely on it, use a packaging format like AppImage. > And homebrew (and anything equivalent for WSL?) works pretty well. I hate to burst your bubble, but Homebrew is genuinely awful. The vast majority of Mac devops issues I've encountered stem from a Homebrew issue, as a matter of fact. Oh no! Software (x) isn't running on Mike's M1, but it runs just fine on Melissa's x86 machine! The problem? Homebrew installs software to different locations depending on your system architecture. That's right, the same package will end up in different places when the only difference between machines is CPU architecture. That's just one issue, I have gripes about reinstalling, leftover files, formulae syntax, Linux "compatibility", UX and more... the author isn't wrong when they say the experience simply doesn't compare to apt or pacman.
- bombcar 5y agoYeah, homebrew isn't the greatest by any means, but it seems to have more stuff and more people use it than fink or macports anymore, so usually there's a workaround somewhere. The MacOS "app bundle" is a really cute solution to the installation/library problem, and I wish something like it had caught on in the Linux world. It seems AppImage is heading this way.
- smoldesu 5y agoApp bundles are neat, but when given the option of "an app directory on top of a traditional Unix filesystem layout" or "everything is packages", I'll tend to choose the latter. It might just be an impasse situation; I think the ideas of package management are developed about as far as they can go, even newcomers like Flatpak can't really bring anything new to the table. The only package manager that's impressed me in recent years is Nix. I think if most developers decided to throw their weight behind Nix packages, we could live in the "it just works" utopia that Linux and Mac developers alike have been dreaming of for years.