Install Developer Toolset on Scientific Linux

For Scientific Linux, Developer Toolset is the basic build tool for C/C++ program .

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:

#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

apt install through corporate proxy

Assuming proxy service like CNTLM is up and running on Ubuntu machine, one can use apt-get to install package with specifying http proxy inf...