Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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 need the detail information about how to install g95 in ubuntu 12.04 step by step. I have followed the g95 manual but it still did not work.

share|improve this question
What have, and haven't you tried? At which specific step did it not work? – hexafraction Dec 24 '12 at 13:33
The installation instructions have only two steps. Which one of the two steps is giving you trouble? – Tom Brossman Dec 24 '12 at 13:43
Step 2. I'm very new in using linux. – anti Dec 24 '12 at 13:53
Folder 'g95-install' is located at home/diah/.. So what i have to do now ? – anti Dec 24 '12 at 13:57

g95 binary are located in this page.

Download the Linux specific binary from here

  1. Copy the downloaded file to your home directory cp ~/Downloads/g95-x86-linux.tgz ~/

  2. untar the file

    cd ~
    tar -zxvf g95-x86-linux.tgz
  3. Create a sym link

    sudo ln -s ~/g95-install/bin/i686-pc-linux-gnu-g95  /bin/g95
  4. Make sure that echo $PATH list /bin

  5. Now to check the installation you can run the command.

    g95 --version

Hope this helps.

share|improve this answer
thanks. it works. – anti Dec 24 '12 at 15:17
Glad that it helped you. – devav2 Dec 24 '12 at 15:28
Hi @anti, if the answer above solved your issue, please accept the answer by clicking on the check mark on the left side. Thanks – qbi Dec 24 '12 at 20:30
In addition to these commands, I also had to install lib32z1 as documented in this question – metasequoia Dec 1 '15 at 4:07

Your Answer


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.