Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to `scl enable devtoolset-8 bash` when login in?

In my centos7, I tried to put scl enable devtoolset-8 bash command to ~/.bashrc but When I login in, processes of scl enable devtoolset-8 bash are started again and again until the process number reaches the user max process number.

So what should I do?

like image 410
GOGO Avatar asked Sep 13 '25 23:09

GOGO


1 Answers

Solve it by using echo "source /opt/rh/devtoolset-8/enable" >> /etc/profile

like image 163
GOGO Avatar answered Sep 16 '25 13:09

GOGO