How can I set an system-wide environment variable for my software installation such that all users will inherit it?
I only need to be compatible with both CentOS 7+ and Fedora 30+, as this is what I'm using locally, but I would like to know what my options are for other distros.
This is to be added to a a simple makefile that is using rsync to install to $(PREFIX)/lib/library_name/
with su/sudo permissions at the time of installation.
rsync
as root to install things, and why are you bringing attention to this?