LinuxQuestions.org
Review your favorite Linux distribution.
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 11-09-2009, 11:37 PM   #1
Kilam orez
Member
 
Registered: Aug 2009
Location: India
Distribution: open suse, fedora
Posts: 33

Rep: Reputation: 15
Lightbulb gfortran in SLED 11 ??


hi dear all

when i search for gfortran through "YAST2", i couldn't find the gfortran in gcc in SLED 11 which is installed on X84_64 intel machine.

i found a file "gfortran-4.3.info.gz" in" /usr/share/info/" in which it is written that :

"1.2 GNU Fortran and GCC"

"GNU Fortran is a part of GCC, the "GNU Compiler Collection". GCC
consists of a collection of front ends for various languages, which
translate the source code into a language-independent form called
"GENERIC". This is then processed by a common middle end which
provides optimization, and then passed to one of a collection of back
ends which generate code for different computer architectures and
operating systems."

can anybody tell me why gfortran is not there?


thanks
 
Old 11-10-2009, 12:53 AM   #2
jheengut
Member
 
Registered: Sep 2006
Location: Providence, Moka Mauritius
Distribution: Slackware, Gentoo, Lubuntu
Posts: 262
Blog Entries: 16

Rep: Reputation: 21
what is the package containing gfortran-4.3.info.gz?
 
Old 11-10-2009, 05:39 AM   #3
Kilam orez
Member
 
Registered: Aug 2009
Location: India
Distribution: open suse, fedora
Posts: 33

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jheengut View Post
what is the package containing gfortran-4.3.info.gz?
actually gcc is already provided with SLED DVD, but i think it doesn't contain gfortran.
 
Old 11-10-2009, 02:21 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,683

Rep: Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284
The package name is ' gcc-fortran '.
Which you will find in Yast2 with the keyword " fortran "

LQ ...
http://www.linuxquestions.org/questi...5/?highlight#4
→ → post # 4.
 
Old 11-21-2009, 12:41 AM   #5
Kilam orez
Member
 
Registered: Aug 2009
Location: India
Distribution: open suse, fedora
Posts: 33

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by knudfl View Post
The package name is ' gcc-fortran '.
Which you will find in Yast2 with the keyword " fortran "

LQ ...
http://www.linuxquestions.org/questi...5/?highlight#4
→ → post # 4.
hi everybody,

i checked the gcc-fortran as:->


# zypper se gcc

Loading repository data...
Reading installed packages...

S | Name | Summary | Type
--+---------------------------+-----------------------------------------------+-----------
| cross-spu-gcc-debuginfo | Debug information for package cross-spu-gcc | package
| cross-spu-gcc-debugsource | Debug sources for package cross-spu-gcc | package
i | gcc | The system GNU C Compiler | package
| gcc | The system GNU C Compiler | srcpackage
| gcc-32bit | The system GNU C Compiler | package
i | gcc-c++ | The system GNU C++ Compiler | package
| gcc-gij | The system GNU Java bytecode interpreter | package
| gcc-gij-32bit | The system GNU Java bytecode interpreter | package
| gcc-info | The system GNU Compiler documentation | package
| gcc-java | The system GNU Java Compiler | package
| gcc33 | The GNU C Compiler Version 3.3(evaluation) | srcpackage
| gcc33-debuginfo | Debug information for package gcc33 | package
| gcc33-debugsource | Debug sources for package gcc33 | package
i | gcc43 | The GNU C Compiler and Support Files | package
| gcc43 | The GNU C Compiler and Support Files | srcpackage
| gcc43-32bit | The GNU C Compiler 32bit support | package
i | gcc43-c++ | The GNU C++ Compiler | package
| gcc43-debuginfo | Debug information for package gcc43 | package
| gcc43-debugsource | Debug sources for package gcc43 | package
| gcc43-gij | Java Bytecode Interpreter for gcc | package
| gcc43-gij-32bit | Java Bytecode Interpreter for gcc | package
| gcc43-info | Documentation for the GNU compiler collection | package
| gcc43-java | The GNU Java Compiler | package
i | libgcc43 | C compiler runtime library | package
i | libgcc43-32bit | C compiler runtime library | package

# zypper se gcc-fortran
Loading repository data...
Reading installed packages...
No packages found.


# zypper se fortran

Loading repository data...
Reading installed packages...
No packages found.

so if i download it from google then how to resolve the dependencies?


With Due Regards

Kilam

Last edited by Kilam orez; 11-21-2009 at 12:44 AM. Reason: not complete thread
 
Old 11-21-2009, 03:49 PM   #6
makyo
Member
 
Registered: Aug 2006
Location: Saint Paul, MN, USA
Distribution: {Free,Open}BSD, CentOS, Debian, Fedora, Solaris, SuSE
Posts: 729

Rep: Reputation: 75
Hi.

The zypper utility understands wild-card-like meta-characters:
Code:
#!/usr/bin/env bash

# @(#) s1       Demonstrate search for Fortran versions, SuSE.

echo
set +o nounset
LC_ALL=C ; LANG=C ; export LC_ALL LANG
echo "Environment: LC_ALL = $LC_ALL, LANG = $LANG"
echo "(Versions displayed with local utility \"version\")"
version >/dev/null 2>&1 && version "=o" $(_eat $0 $1) zypper gfortran
set -o nounset

echo
echo " Results:"
zypper search '*fortran*'

exit 0
producing:
Code:
% ./s1

Environment: LC_ALL = C, LANG = C
(Versions displayed with local utility "version")
OS, ker|rel, machine: Linux, 2.6.27.37-0.1-pae, i686
Distribution        : Welcome to openSUSE 11.1 - Kernel 
GNU bash 3.2.39
zypper 1.0.13
gfortran GNU Fortran (SUSE Linux) 4.3.2 [gcc-4_3-branch revision 141291]

 Results:
Loading repository data...
Reading installed packages...

S | Name          | Summary                                       | Type   
--+---------------+-----------------------------------------------+--------
i | gcc-fortran   | The system GNU Fortran Compiler               | package
  | gcc33-fortran | The GNU Fortran 77 Compiler and Support Files | package
  | gcc41-fortran | The GNU Fortran Compiler and Support Files    | package
i | gcc43-fortran | The GNU Fortran Compiler and Support Files    | package
  | libgfortran41 | The GNU Fortran Compiler Runtime Library      | package
i | libgfortran43 | The GNU Fortran Compiler Runtime Library      | package
Best wishes ... cheers, makyo

Last edited by makyo; 11-21-2009 at 04:02 PM.
 
1 members found this post helpful.
Old 11-22-2009, 02:35 PM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,683

Rep: Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284
Sorry, I forgot this : Just like Suse 10 oss and 10 SLED,
there can be much difference in the package selection between
Suse 11 SLED and 11 oss.

I did not subscribe at install, thus the oss ( open suse ...)
repo was set up automatically.

Suggest : Add the oss repo temporaraly to /etc/zypp/repos.d/
or download the package
http://download.opensuse.org/distrib...7-6.1.i586.rpm
> gcc43-fortran-4.3.1_20080507-6.1.i586.rpm
Attached Files
File Type: txt openSUSE-11.0-Oss.repo.txt (182 Bytes, 65 views)

Last edited by knudfl; 11-22-2009 at 06:13 PM.
 
Old 11-23-2009, 04:30 AM   #8
sonu kumar
LQ Newbie
 
Registered: Aug 2009
Location: India
Distribution: open suse
Posts: 28

Rep: Reputation: 17
Suggest : Add the oss repo temporaraly to /etc/zypp/repos.d/


Dear knudfl,


i want to add oss repo so that i can use it further.

please tell me how to add repo to above said location.



regards,

sonu
 
Old 11-23-2009, 01:57 PM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,683

Rep: Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284
Download the attached file openSUSE-11.0-Oss.repo.txt
to /home/'username'/
Rename it to openSUSE-11.0-Oss.repo

.. And ..

1) cd /etc/zypp/repos.d/
2) su
3) cp /home/'username'/openSUSE-11.0-Oss.repo .
.. where the dot ( . ) means the current directory.
.....
__________________
Don't forget to click the Thumbs Up on any post that helped you
so the submitter will be "officially" thanked.
Attached Files
File Type: txt openSUSE-11.0-Updates.repo.txt (175 Bytes, 64 views)
File Type: txt openSUSE-11.0-Non-Oss.repo.txt (194 Bytes, 48 views)

Last edited by knudfl; 11-23-2009 at 07:47 PM.
 
1 members found this post helpful.
Old 11-24-2009, 02:59 AM   #10
Kilam orez
Member
 
Registered: Aug 2009
Location: India
Distribution: open suse, fedora
Posts: 33

Original Poster
Rep: Reputation: 15
Thumbs up

Quote:
Originally Posted by knudfl View Post
Download the attached file openSUSE-11.0-Oss.repo.txt
to /home/'username'/
Rename it to openSUSE-11.0-Oss.repo

.. And ..

1) cd /etc/zypp/repos.d/
2) su
3) cp /home/'username'/openSUSE-11.0-Oss.repo .
.. where the dot ( . ) means the current directory.
.....
__________________
Don't forget to click the Thumbs Up on any post that helped you
so the submitter will be "officially" thanked.
thanku knudfl


i did as what you said.

its working.

regards
kilam
 
  


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
difference in /proc/mounts file between sled SP1 and sled SP2? mike79 Linux - Newbie 0 04-21-2009 06:53 AM
ifort and gfortran hanamilani Linux - Software 1 02-15-2009 12:34 PM
help gfortran mperez Programming 2 12-16-2007 12:50 PM
SLED i386 vs. SLED AMD64 JOHN-FM SUSE / openSUSE 4 09-06-2006 07:40 AM
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 11:51 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration