Ask Your Question

Installing c and fortran compilers in Fedora 17

asked 2012-08-01 19:36:44 -0600

mcgill gravatar image

updated 2014-09-30 09:26:11 -0600

mether gravatar image

I downloaded Fedora 17, wrote it to a CD, and installed it on an HP dual boot laptop. The installation apparently went normally, but the C and Fortran compilers were not present.

I used the following commands: yum install gcc-gfortran and yum -y install gcc.

Each command gave the following error:

"Loaded plugins: langpacks, presto, refresh-packagekit. Error: Cannot retrieve metalink for repository: fedora. Please verify its path and try again."

Can anybody tell me how to get around this?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2012-08-01 22:28:59 -0600

Akshay gravatar image
edit flag offensive delete link more

answered 2012-08-02 11:49:13 -0600

mcgill gravatar image

Thanks for your help Akshay. The links pointed out what I was missing - that I need an internet connection to install the packages.

It turns out that I can access my mobile broadband connection (which I have been using under Windows) under Fedora. Once I did this, the yum install command worked.

edit flag offensive delete link more

Question Tools


Asked: 2012-08-01 19:36:44 -0600

Seen: 8,484 times

Last updated: Aug 02 '12