LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-21-2007, 02:30 PM   #1
sgware
LQ Newbie
 
Registered: Jul 2006
Location: New Orleans, LA
Distribution: Kubuntu 6.10: Edgy Eft
Posts: 26

Rep: Reputation: 15
Easy way to get gfortran?


I have a fair bit of experience with Linux actually, but this is a newbie question. On Fedora 6, is there a convenient command line method for getting and installing the gfortran compiler? I'm using a SPARC port of FC6, which doesn't come with gfortran by default, and the package manager seems to have problems. IIRC, there is some really simple command line tool (yum perhaps?) that will download, compile, and install packages for you. I'd like to do with that gfortran.
 
Old 10-21-2007, 04:35 PM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
I just use the search feature of yum to see if a package is available...
$ yum search gcc-gfortran
gcc-gfortran.i386 : Fortran 95 support

The package name maybe abit different for sparc.

Then, you can tell yum to install it...
yum install gcc-gfortran
 
Old 10-22-2007, 01:40 AM   #3
sgware
LQ Newbie
 
Registered: Jul 2006
Location: New Orleans, LA
Distribution: Kubuntu 6.10: Edgy Eft
Posts: 26

Original Poster
Rep: Reputation: 15
Hmm... I tried that, but I don't think it worked.

Code:
yum search gcc-gfortran
error: Macro % has illegal name (%define)
Searching Packages:
Setting up Repo:  aurora-extras
http://atlantis.ausil.us/extras/2/sparc/repodata/repomd.xml: [Errno 4] IOError: HTTP Error 404: Not Found
Trying other mirror.
Cannot open/read repomd.xml file for repository: aurora-extras
failure: repodata/repomd.xml from aurora-extras: [Errno 256] No more mirrors to try.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
undefined gfortran references when compiling with g77 StudMuffin Linux - Software 4 02-17-2007 06:06 AM
Gfortran compile error aukuntin Linux From Scratch 2 01-28-2007 08:08 PM
gfortran makefile c.m.klaij Programming 0 01-23-2006 05:04 AM
gfortran libraries curosie Programming 1 08-26-2005 10:37 PM
gfortran and pgf90 peeInMyPantz Programming 1 08-08-2005 04:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration