Ask Your Question
2

g++ command not found in fedora 18 [closed]

asked 2013-08-06 07:33:37 -0500

Alpha_Vulnerability gravatar image

updated 2013-08-06 22:12:31 -0500

FranciscoD_ gravatar image

[root@localhost Software Engineering]# g++ sms_fedora.cpp bash: g++: command not found...

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by FranciscoD_
close date 2013-08-06 22:11:49.987462

Comments

1

Try sudo yum clean all and then the install command.

FranciscoD_ gravatar imageFranciscoD_ ( 2013-08-06 08:02:28 -0500 )edit
1

@FranciscoD_ Thank you so much it's working properly

Alpha_Vulnerability gravatar imageAlpha_Vulnerability ( 2013-08-06 09:06:23 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
2

answered 2013-08-06 07:37:43 -0500

none gravatar image

Try: sudo yum install gcc-c++

edit flag offensive delete link more
0

answered 2013-08-06 07:52:13 -0500

polarfish gravatar image

If you know that fedora has package that provides g++ command but you don't know what package you should install, run:

yum provides g++

to find out.

edit flag offensive delete link more

Comments

yum whatprovides '*/g++' might work better :)

FranciscoD_ gravatar imageFranciscoD_ ( 2013-08-06 08:03:25 -0500 )edit

Question Tools

Stats

Asked: 2013-08-06 07:33:37 -0500

Seen: 14,306 times

Last updated: Aug 06 '13