It's a desktop, not a server, you should only ever install latest packages instead of relying on fixed versions. If you need a specific version, install a version manager. I use brew with everything latest, except for node which I manage with nvm and it works great.
Brew is actually my favorite package manager for this reason.