You are not logged in.
What is the best way to install a non-repo package for all users on a centrally managed Arch installation? I'm trying to avoid each user having to manage their own virtual environments, and ideally I'd prefer not to use the AUR as much as possible.
Are there other (good) ways to do this, besides using the --break-system-packages flag?
Offline
Make your own PKGBUILD or use the AUR if it's already present there. That's what system package managers are there for.
Offline
ideally I'd prefer not to use the AUR as much as possible.
Why?? Building a package from a PKGBUILD is precisely what you should do to meet your goals.
If someone else already wrote such a PKGBUILD, why would you not want to benefit from their effort? Don't reinvent the wheel.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
As mentioned PKGBUILD is the best way to do it. Pacman then takes note of it and if you decide later on to uninstall then pacman will give it a good clean (of course not the config files in your home folder).
Offline