by ashrk · 8y ago · 0 comments
For my part, I've discovered since switching to Mac that I don't like having system packages managed alongside user packages.
It's one thing when I'm all-in on handling everything from the kernel up (it was fine back when I used Gentoo, for example) but the middle ground of massive meta-packages and such mingled with user-installed individual packages on e.g. Ubuntu is a train wreck. MacOS w/ homebrew's great. I can delete the entire directory with my brew installed crap in it and the system's unaffected. System upgrades are separate from my stuff. That plus the occasional drag+drop installed program cover my needs nicely, and better than everything's-a-bespoke-GUI-installer on Windows.
I agree that "installers" are not a good paradigm either, but a lot of Windows software can be had in portable (or at least non-installer) form.
They actually do allow multiple versions of the same application to be installed. It's just difficult to get it to work.
The package itself will install to (for example) /usr/bin. A new version of the package will have the same file names, so they get overwritten.
Most well-built packages will allow you to override the installation path though. This is perfect in case you want to install to your home directory (instead of globally) or some versioned directory.
For example you can relocate RPM installations given an example.rpm file:
rpm -i --relocate=/=/home/myuser example.rpmAnd when all else fails, there's docker.