Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am running Ubuntu 11.04. I wanted to install gfrotran 4.6 on my system.

Can anyone please explain (show all) steps required to install gfortran 4.6 on ubuntu 11.04?

I did the following:

sudo apt-get update
sudo apt-get install gfortran-4.6

… and got:

E: Unable to locate package gfortran-4.6
share|improve this question
    
This package seems to exist for 11.10, not 11.04. You might need to upgrade Ubuntu or get it from somewhere else. –  slhck Sep 16 '12 at 16:50
    
@slhck can u put this as an answer so that i can accept. thanks! –  starter Oct 23 '12 at 14:40
    
You can just accept Gerhard Burger's answer below I guess :) –  slhck Oct 23 '12 at 14:44
    
@slhck ok, thanks ;) –  starter Oct 23 '12 at 15:46

1 Answer 1

up vote 1 down vote accepted

Like slhck already mentions, it is not available for 11.04. However you can build it from source. Depending on your experience with linux this might be easy or hard but the steps you need to follow are here: http://gcc.gnu.org/wiki/InstallingGCC (gfortran is included in gcc)

for more information about building from source: https://help.ubuntu.com/community/CompilingEasyHowTo

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.