First, let's install Software Collections package:
# #Install Software Collections in CentOSShell $ yum install centos-release-scl #Install Software Collections in Scientific Linux 7 $ yum install yum-conf-repos $ yum install yum-conf-softwarecollections #Install Software Collections in Scientific Linux 6 $ yum install "http://ftp.scientificlinux.org/linux/scientific/6x/external_products/softwarecollections/yum-conf-softwarecollections-2.0-1.el6.noarch.rpm"
Now, we can install Developer Toolset with the following versions of your choice:
To use Developer Toolset 6, try the following commands:
#Install Developer Toolset 6 $ yum install devtoolset-6 # #Install Developer Toolset 4 $ yum install devtoolset-4 # #Install Developer Toolset 3 $ yum install devtoolset-3
To use Developer Toolset 6, try the following commands:
#Enter Developer Toolset 6 Environment #to invoke a BASH with environment variables setup to run Developer Toolset 6 $ scl enable devtoolset-6 bash #Now check your developement environment by printing GCC Version $ gcc --version
No comments:
Post a Comment