DIGIT-ARC read-only archive · snapshot: July 23, 2026

C programs in Fedora.

4 posts · originally from https://geek.digit.in/community/threads/c-programs-in-fedora.155559/

IronCruz
IronCruz Original post #1
Apr 14, 2012 at 4:50 PM
Hello. I've installed Fedora 13 with Windows 7 Host on VM Virtual Box. When i try to compile c/c++,lex and yacc programs, it shows "CommandNot found Error". So what should i do so that i can compile and run those programs?
krishnandu.sarkar
Apr 14, 2012 at 6:37 PM
Why Fedora 13..?? I guess it's EOL [End of Life] and not supported anymore by Fedora (Not sure)

To compile C / C++ programs you need, GCC.

Do...
su -c 'yum install gcc'
su -c 'yum install gcc-g++'

If f13 is EOL you'll nothing will get downloaded and installed. In that case you need .rpm packages of the above or the source so you can compile it.

So if possible upgrade to the latest f16.
IronCruz
Apr 14, 2012 at 9:02 PM
ok ok. Thanx :)
Z
May 31, 2012 at 10:54 PM
I have installed fedora 16 on vmware
after I execute the given command ie. "su -c 'yum install gcc'"
I get the message "password:"
which password would it be i tried entering the admin password, but doesn't work.