On 08/08/2016 04:57 PM, Yamaban wrote:> Hint: > put a scriplet into /etc/profile.d/ and it will be executed on login.If you haven't used "scl," and I hadn't before yesterday, it creates a new session with environment variables set up to access applications installed in a semi-isolated path. It can't be called from the bash profile as far as I can tell, and its execution isn't documented in its own man page. I could check its code to duplicate its functionality, but I was hoping for a simple answer from someone who uses it.
On Tue, Aug 09, 2016 at 10:12:31AM -0700, Gordon Messmer wrote:> If you haven't used "scl," and I hadn't before yesterday, it creates a new > session with environment variables set up to access applications installed > in a semi-isolated path. It can't be called from the bash profile as far as > I can tell, and its execution isn't documented in its own man page. I could > check its code to duplicate its functionality, but I was hoping for a simple > answer from someone who uses it.Its just a slightly more complex command line: $ scl enable devtoolset-3 eclipse ... this will load the devtoolset-3 SCL and then execute 'eclipse'. -- Jonathan Billings <billings at negate.org>
On 08/09/2016 11:44 AM, Jonathan Billings wrote:> Its just a slightly more complex command line: > $ scl enable devtoolset-3 eclipse > ... this will load the devtoolset-3 SCL and then execute 'eclipse'.Yes, I know that. I was hoping to better understand how scl works, and whether or not new sessions could simply enable a collection by default.