Because when I was trying to use gfortran to compile my program, it said couldn't find it. And I couldn't find gfortran folder in my laptop.
(1)after I typed 'sudo apt-get install libgfortran3', it says following in terminal:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
libgfortran3
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 357 kB of archives.
After this operation, 1,222 kB of additional disk space will be used.
Get:1
http://us.archive.ubuntu.com/ubuntu/ precise/main libgfortran3 amd64 4.6.3-1ubuntu5 [357 kB]
Fetched 357 kB in 1s (207 kB/s)
Selecting previously unselected package libgfortran3.
(Reading database ... 168458 files and directories currently installed.)
Unpacking libgfortran3 (from .../libgfortran3_4.6.3-1ubuntu5_amd64.deb) ...
Setting up libgfortran3 (4.6.3-1ubuntu5) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(2)I just typed 'dpkg -l libgfortran3', it says:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii libgfortran3 4.6.3-1ubuntu5 Runtime library for GNU Fortran applications
What does that mean? Thank you!
btw, how to use code frame like what you did?