April 6, 2012

Gfortran Installation LINUX

GFortran or Gcc-fortran is a product of GCC. You can download and install it freely.

If you are using Ubuntu or Debian based LINUX operatting system, you can use the command "apt-get" to install it from the main repository.

Enter the following commands in linux shell:

sudo apt-get update
sudo apt-get install -y gfortran

The command "sudo apt-get update" will download the package's lists from the repositories and only updates the information on the newest versions of packages and their dependencies. It does not updates any softwares. It will update the information and dependencies of all the repositories. If you to install the latest packages, you may use the command "sudo apt-get upgrade".

The command "sudo apt-get install -y gfortran" will install the gfortran in your Linux system. You may not type "sudo" if you are logged in as root.

For open suse, the name of the package is "gcc-fortran", so you may use the following command to install gfortran,

sudo zypper install gcc-fortran

On Fedora or derived systems, some versions have gfortran package and some use the gcc-fortran package. So you can check the following commands to install gcc-fortran or gfortran on linux,

sudo yum install gfortran
sudo yum install -y gfortran
sudo yum install gcc-gfortran

1 comment:

  1. We have some professional cell phone voicemail greeting that is best for some people who want to use their voice for greeting emails or phone calls.


Web Statistics