To install g95 on Linux, you don't need a super user access.
Download the binary package from
(the one called Linux x86)
You will get a file named g95-x86-linux.tgz
Uncompressed this compressed archive file as follows :
Code:
tar zxvf g95-x86-linux.tgz
A directory should have been created with the name g95-install. Now, you just have to make the command
g95 available. Two ways for that : creating an alias or adding symbolic link into a directory which belongs to the PATH environment variable. I prefer the second way which works even when calling g95 in shell or make files but the first way is simpler if you use g95 in an interactive command windows.
The following instruction has to be inserted into your personal .bashrc configuration file located in you home directory :
Code:
alias g95=/.../g95-install/bin/i686-pc-linux-gnu-g95
Of course, you have to replace ... by the correct directory which contains the directory
g95-install.
To finish the installation, open a new command window (or run the command
bash in the current one) and test the command g95
François Jacq