Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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: (gfortran is included in gcc)

for more information about building from source:

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .