LinuxQuestions.org
Register a domain and help support LQ
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, 03: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, 05:35 PM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 59
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, 02: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 07:06 AM
Gfortran compile error aukuntin Linux From Scratch 2 01-28-2007 09:08 PM
gfortran makefile c.m.klaij Programming 0 01-23-2006 06:04 AM
gfortran libraries curosie Programming 1 08-26-2005 11:37 PM
gfortran and pgf90 peeInMyPantz Programming 1 08-08-2005 05:54 AM


All times are GMT -5. The time now is 08:32 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration