Cannot find gfortran in software centre

Asked by Kerry Hayes

Hiya

I have installed ubuntu on my windows as a partition to use some software for my university work. In this software it says i need gfortran, and I was told to get it from the software centre.

I have looked a million times and I cant find it. Can anyone help me? Am begging!

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu software-center Edit question
Assignee:
No assignee Edit question
Solved by:
mycae
Solved:
Last query:
Last reply:
Revision history for this message
Best mycae (mycae) said :
#1

Open a terminal with Ctrl+Alt+T,

then type

sudo apt-get install gfortran

It should be there:
http://packages.ubuntu.com/search?suite=all&searchon=names&keywords=gfortran

If you can't find it, please post back . It is possible that your sources are not correct.

Revision history for this message
Kerry Hayes (kerry53) said :
#2

I think its worked... this is whats happened at the end of a long list of script etc...

Selecting previously deselected package gfortran-4.6.
Unpacking gfortran-4.6 (from .../gfortran-4.6_4.6.1-9ubuntu3_amd64.deb) ...
Selecting previously deselected package gfortran.
Unpacking gfortran (from .../gfortran_4%3a4.6.1-2ubuntu5_amd64.deb) ...
Processing triggers for man-db ...
Setting up libgfortran3 (4.6.1-9ubuntu3) ...
Setting up gfortran-4.6 (4.6.1-9ubuntu3) ...
Setting up gfortran (4:4.6.1-2ubuntu5) ...
update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f95 (f95) in auto mode.
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place

You are my actual favourite person ever if it has worked, I have been struggling for days!

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Might want to run:

sudo apt-get update

First too :)

Revision history for this message
Kerry Hayes (kerry53) said :
#4

IT WORKED! THANKS!

Have another problem now with my software I am using for my work, really not great with Linux!

Revision history for this message
Kerry Hayes (kerry53) said :
#5

Thanks mycae, that solved my question.