Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am trying to installing gfortran on my ubuntu system and I am following the steps mentioned in http://gcc.gnu.org/wiki/GFortranBinaries32Linux , unfortunately one of the step in the installation steps to says

Install using the following command:

tar -xzvf gfortran-4.5-linux-i686.tar.gz -C /

but the download link provides a .deb file which I have installed it. Now when I check for gfortran, it says not installed. Any clue? how should I follow the further?

Steps I have completed are: 1) Installed libraries: GMP Library, MPFR Library, and MPC Library. 2)Downloaded the gfortran-4.6 Debian and installed using the cmd. sudo dpkg -i .deb

anything else I need to do? do I need to create any path or symbolic link? please help,thanks! Please Note: I have no internet access and cannot use software center.

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

Why not install the package?

sudo apt-get install gfortran
share|improve this answer
    
I have tried it and you can see my edited question for what I have been doing. any further suggestions. I guess I need to give a path for installing. –  VRU Dec 13 '12 at 9:05
add comment

If you just download the .deb file, and open (with Software Centre), this may resolve your problem.

A 'Debian' file (.deb) is the default install method for Debian and Ubuntu variants of Linux.


UPDATE

I followed the link you gave.

The file gcc-4.8-infrastructure-32bit.tar.xz is a closer match the instructions you were using.

I also read ReadMe-32bit, which has (possibly) even simpler instructions.

Presumably you can't just use 4.6.3, which is ready to install (for 12.04) in the Ubuntu repositories.

share|improve this answer
1  
I have been installing the dependencies for a big list and was successfully able to install it. Thanks for your comment. –  VRU Dec 15 '12 at 9:52
add comment

Your Answer

 
discard

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.