Installing C++ on a CentOS running Linux
Hello.
I need to install C++ on a CentOS system that is running linux. or I need to check if it has c++ installed... advice? |
Install the g++ compiler. If you do:
Code:
yum groupinstall "development tools" |
C++
will this also give me c++? or just compiling tools?
I am also install on a HPCC server... does this matter? |
Errs
[acolombo@hpc-login2 ~]$ yum groupinstall "development tools"
Loaded plugins: fastestmirror, priorities, refresh-packagekit, security You need to be root to perform this command. |
Installing the c++ compiler :
1) $ su <enter-root-password> 2) # yum install gcc-c++ If you also want all the other "Development tools" : a) $ yum grouplist .. to check how to spell "Development tools". I.e. it is not "development tools". b) # yum groupinstall "Development tools" - |
Quote:
---------- Post added 01-04-14 at 08:56 AM ---------- Quote:
Code:
su - |
Quote:
|
All times are GMT -5. The time now is 05:13 PM. |