g++ command not found
Dear all,
I am new to linux and now using SUSE, I have gcc but when I type in g++, it is "command not found". The gcc version is "gcc (GCC) 4.1.2 20070115 (prerelease) (SUSE Linux)". So what should I do now in order to have g++? Thanks! |
You will need to install the g++ package. I don't use SuSE, but you should be able to find it in the software installation tool in YaST.
|
I search in Yast control center it said can not find g++
Also I download the g++ packet and install it, but still "command not found" when type g++. If I type whereis g++, it shows g++: What should I do now? Thanks |
When you say, "I download the g++ packet and install it", where exactly did you get it and how did you install it? You might have the completely wrong package for your system or installed it wrong, which would be why it still doesn't work. Also, it will definitely be in your package manager. Not a SUSE user myself, but in Fedora it is called gcc-c++. Just look for any packages in Yast that has to do with GCC, its in there somewhere.
|
All times are GMT -5. The time now is 08:06 PM. |