3 ms·
Nobody is prevented from using newer versions of Bash. They just don't ship from Apple.
by PaulDavisThe1st 5y ago
Nobody is prevented from using newer versions of Bash. They just don't ship from Apple.
- jw14 5y agoUntil this moment I didn't know the Apple version of bash was outdated, I reluctantly started using zsh when Apple defaulted to that. Now I don't care about bash. Was that good for bash?
- webmobdev 5y agoWhat does it matter when you don't care about it? Tomorrow if Apple replaces Zsh with something else, you are the kind who won't care about that too. Those who care about bash, can still install and use it, and more importantly enjoy the freedom of modifying it as much as they want, without any hindrance from Apple or anyone. That's because with FSF opensource licensed softwares, Apple or others using it in their product cannot refuse to give you the source code. Other opensource license don't guarantee such freedom.
- lrvick 5y agoWell how will you get it installed? Brew? Well that has no signing support and no supply chain integrity. Hundreds of people have access to push whatever they want to a git repo and anyone is free to forge commits and backdoor all brew users as they like. It is worse than NPM. At least on Windows you can install WSL and then get access to APT which checks RSA author signatures on everything regardless of mirror. MacOS only provides signed packages via their app store. The end. If you want software they don't offer like a modern version of bash, you have to get it from untrusted sources like Brew that risk compromising your system.
- bigbizisverywyz 5y ago>Well how will you get it installed? download source code ./configure make sudo make install seems to work for lots of software. By default it should install in /usr/local/<bin/lib> but I've done this for lots of OSS software (e.g. postgres and nginx) on Mac with few problems. Yes, sometimes you have to pursue the odd missing dependency and build that too (e.g. openssl or readline), but I've always managed to build from source in the end without brew or (what's the other one called?).
- lrvick 5y agoFair enough, but I have never observed another MacOS user in the wild compile from source. No matter the risk, every engineer I know uses brew. MacPorts is the other one and it at least uses some crude bulk openssl signing, but the higher barrier to entry means fewer packages so devs don't use it.