You are not logged in.
The programs installs in /opt has a script file in /etc/profile.d/ to set the enviromental variables and etc. for them. These scripts run at the init...on the next restart.
Is there any way to add these scripts to the system-wide profile immediately?
Offline
sourcing it should be all that you need. source /etc/profile.d/foo.sh
Offline
man source:
source - Evaluate a file or resource as a Tcl script
is this what you mean?
Offline
Anything you put in /etc/profile.d/ will be "sourced" or read through and run, every time you open a login shell. So you can either re-log to have it loaded, or you can just run `. /etc/profile.d/foo.sh` in a shell.
Offline