Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I am in the process of upgrading one of my systems to a newer beefier server. We are transitioning from Red Hat version 4 update 9 to the latest LTS version of Ubuntu, 12.04. One of the users of this system absolutely needs the f77 fortran compiler (don't ask) and this package does not seem to be available from Ubuntu (which makes sense since the compiler is 9 years my senior).
Any suggestions on an easy way to get the compiler on the Ubuntu system?
sudo apt-get update
sudo apt-get install g77
G77 is the GNU F77 compiler package that is part of the GCC/G++ world. To get it all on Ubuntu, you may need to download new libs (after checking the requirments) and the GCC source package and compile the compiler with the right options to create a new GCC with G77. Rather a pain, but someone on the Ubuntu team decided we will never need FORTRAN again. How silly!
I have not checked the Debian repos and packages. There may be something interesting there! I run CentOS and Debian on my systems, but cross loading packages is not recommended.
It would be good to investigate why he needs g77. Some defaults are different any maybe gfortran needs -finit-local-zero or other switches. But this could also be fixed inside the source code not to rely on this behavior of the compiler.