I am trying to install gfortran
in my computer with Ubuntu 12.04 by using these commands,
sudo -i
apt-get update
apt-get install gfortran
but I found the program saying "unable to locate package gfortran
".
Then on a Ubuntu page I found some question regarding the same problem and I went through the solution from them but again I couldn't install the gfortran
package.
Can anybody tell me how to install it?
apt-get update
? Can you provide the contents of/etc/apt/sources.list
?