no g77 in ubuntu Jaunty

Asked by miguelwon

Hi.

Does anyone know how to install g77 in Ubuntu 9.04?

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
miguelwon
Solved:
Last query:
Last reply:
Revision history for this message
Steven Danna (ssd7) said :
#1

I've been reading about various ways to install versions of g77; however many of them seem hit or miss. However, before trying that I would first see if your code can be compiled with gfortran. While gfortran is Fortran 95, the wiki page on it (and other things I have read) says that is intended to also be compatible with code written for g77.

To install gfortran:

sudo apt-get install gfortran

http://en.wikipedia.org/wiki/GFortran

If gfortran will not work for you, let me know and I will try to point you to the best of the directions I have found online for installing g77.

Revision history for this message
miguelwon (miguelwon) said :
#2

Hi.

I tried and nothing happens. I'm using one application that needs g77. Each time I run it it gives me the error:

g77: Command not found

Thanks for the help.

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#3

Hi,

Please try this workaround procedure for installing g77:

https://wiki.bnl.gov/dayabay/index.php?title=Offline_Software_Installation_on_Ubuntu_8.10%2C_Intrepid_Ibex#v3.4

Regards,

Mark

Revision history for this message
miguelwon (miguelwon) said :
#4

It worked.
Thanks a lot! :)

Revision history for this message
Diego (diego-guadagnoli) said :
#5

I tried the workaround by Mark Rijckenberg, but unfortunately it doesn't work for me.

In Synaptic, if I mark for installation g77, this is what I get:

g77:
 Depends: g77-3.4 but it is not going to be installed

If I mark g77-3.4 instead:
g77-3.4:
  Depends: gcc-3.4 (=3.4.6-6ubuntu5) but 3.4.6-8ubuntu2 is to be installed
  Depends: gcc-3.4-base (=3.4.6-6ubuntu5) but 3.4.6-8ubuntu2 is to be installed
 Depends: libg2c0-dev but it is not going to be installed

Is there any way to have g77 (possibly without downgrading anything else)?

I have Ubuntu 9.04 on a 64bit laptop (kernel 2.6.28-15-generic).

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#6

Hi Diego,

This thread is already in status "solved"

Please a separate, new thread for your new issue.

Kind regards and thanks,

Mark