Ask Your Question

How to install gcc? [closed]

asked 2015-02-28 10:29:40 -0500

David117 gravatar image

When I do "yum -y install gcc" ? It's tell me no this pakege???

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by FranciscoD_
close date 2015-03-03 05:58:53.693102



What does it exactly say? (Give the complete output). Are you sure that it is not already installed?

hedayat gravatar imagehedayat ( 2015-02-28 11:18:21 -0500 )edit

Exactlly say "No package gcc availble

Nothing to do"

David117 gravatar imageDavid117 ( 2015-02-28 11:37:31 -0500 )edit

What does yum repolist say? gcc package is available in Fedora repository with the same name, so there is something wrong with your repo configuration.

hedayat gravatar imagehedayat ( 2015-02-28 11:47:16 -0500 )edit


David117 gravatar imageDavid117 ( 2015-02-28 12:10:00 -0500 )edit

In new fedora 21

David117 gravatar imageDavid117 ( 2015-02-28 12:19:55 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2015-02-28 14:12:57 -0500

sideburns gravatar image

Welcome to ask.fedora! I'm not sure why you're having this difficulty, but if you need gcc, you probably need the other development tools that go with it. Try this instead, as root:

yum group install "Development Tools"

and let us know if it works and if not, what error messages you got.

edit flag offensive delete link more


Reinstall first install gcc success!

David117 gravatar imageDavid117 ( 2015-02-28 21:24:16 -0500 )edit

Reinstall Fedora21 server than first install gcc success!

David117 gravatar imageDavid117 ( 2015-02-28 22:00:33 -0500 )edit

Voting up @sideburns to compensate the negative... really don't know why someone voted down!

skytux gravatar imageskytux ( 2015-02-28 22:53:17 -0500 )edit

@skytux I didn't give sideburns the down vote, but his answer is actually wrong. As you can see above, his problem was with his repos. Otherwise, yum install gcc would also work. :P And he has solved his problem by re-installing Fedora.

hedayat gravatar imagehedayat ( 2015-03-01 01:30:26 -0500 )edit

I don't think the answer is wrong - it doesn't solve the problem, but it does answer the question as asked. Better questions get better answers.

randomuser gravatar imagerandomuser ( 2015-03-01 03:42:24 -0500 )edit

Question Tools

1 follower


Asked: 2015-02-28 10:29:40 -0500

Seen: 2,903 times

Last updated: Feb 28 '15