English
Ask Your Question
0

unable to install gcc in fedora 21

asked 2015-01-04 13:25:51 +0000

SantoshHoropter gravatar image

I have tried to download using terminal and on rpmfind.net , there seems to be no such rpm available by my search. I have tried dnf install gcc and yum -y install gcc, but neither of them worked. Next, I tried compiling using gpp. It says gpp : command not found. Please help me.

edit retag flag offensive close merge delete

Comments

2 answers

Sort by ยป oldest newest most voted
2

answered 2015-01-05 14:29:09 +0000

skytux gravatar image

Run the command in a terminal:

$ gcc
gcc: fatal error: no input files
compilation terminated.

If you get that output, then you have gcc installed in your system. If not, then do as others suggested:

$ sudo yum install gcc

and that should work, unless you have something wrong in your system.

You should put the output of the commands that you issued in order to find out what is going wrong.

edit flag offensive delete link more

Comments

Sorry for the trouble. There was a wiring problem somewhere and my ISP detected it recently. It was a h/w problem. Secondly, there are however some ftp mirrors that have respond.xml not updated. Like moka themes for f21. How should I approach that problem? I am making your answer as correct as it is closest possible answer in a software related issue..

SantoshHoropter ( 2015-01-05 20:33:12 +0000 )edit

Glad your problem is solved! About Moka, it isn't an official Fedora repository, so I recommend you to write to the guys that maintain those packages and ask them to fix the repository. Good luck!!

skytux ( 2015-01-05 22:21:58 +0000 )edit
0

answered 2015-01-05 06:22:55 +0000

pnemade gravatar image

updated 2015-01-05 06:25:59 +0000

I can see gcc package. Just check http://dl.fedoraproject.org/pub/fedora/linux/releases/21/Everything/x86_64/os/Packages/g/ in this path.

You sure you not have already installed gcc package? Also, try cleaning up repo metadata and try again to install

edit flag offensive delete link more

Comments

I tried to manually check the index of the aforesaid link... I couldn't find gcc package there either.

SantoshHoropter ( 2015-01-05 09:20:36 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Question Tools

Follow
1 follower

Stats

Asked: 2015-01-04 13:25:51 +0000

Seen: 8,971 times

Last updated: Jan 05 '15