Hi ,
Please i need to update compiler GCC to 4.9 or more , i try so many thing and nothing work
many thanks for helping me with this
UPDATE Gcc
Re: UPDATE Gcc
yum install centos-release-scl
yum list \*gcc\*
Look at the devtoolset-XX packages, pick the version of gcc that you want - e.g. 11 - then yum install devtoolset-11
Please not that SCL's require specific action taken to invoke them, they do not replace the system tools, you must run a special SCL shell to use them. See man scl
yum list \*gcc\*
Look at the devtoolset-XX packages, pick the version of gcc that you want - e.g. 11 - then yum install devtoolset-11
Please not that SCL's require specific action taken to invoke them, they do not replace the system tools, you must run a special SCL shell to use them. See man scl
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: UPDATE Gcc
thanks fyou for your help
after installing
-->> sudo yum install rh-python36
and using python 3.6 scl command :
-->> scl enable rh-python36 -- bash
i have this error :
Unable to open /etc/scl/conf/rh-python36!
i think something wrong with the scl path , please do you know how to fix this ?
after installing
-->> sudo yum install rh-python36
and using python 3.6 scl command :
-->> scl enable rh-python36 -- bash
i have this error :
Unable to open /etc/scl/conf/rh-python36!
i think something wrong with the scl path , please do you know how to fix this ?
Re: UPDATE Gcc
What do you have in /etc/scl/conf/?
The /etc/scl/conf/rh-python36 belongs to package rh-python36-runtime and that should install as dependency to rh-python36.
The /etc/scl/conf/rh-python36 belongs to package rh-python36-runtime and that should install as dependency to rh-python36.
Re: UPDATE Gcc
So why are you attempting to invoke an SCL that you don't have installed? You have devtoolset-9 not rh-python36 so you should change your command accordingly.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: UPDATE Gcc
So, two issues:
A) Why attempt to install/use Python 3.6 when you initially did ask for GCC? (Besides, base repo does now have python3, no SCL required for that.)
B) If 'rh-python36' was installed, then what went wrong in that?
A) Why attempt to install/use Python 3.6 when you initially did ask for GCC? (Besides, base repo does now have python3, no SCL required for that.)
B) If 'rh-python36' was installed, then what went wrong in that?