G77

Installing g77 on intel mac snow leopard…

Figured out with brilliant help from: Fortran Compiler Installation Instructions.

gunzip g77-bin-intel.tar.gz
sudo tar -xvf g77-bin.tar -C /

Neat trick! It puts everything in /usr/local

Notes: No uninstall script exists, so the install files need to be listed from the tar file and manually deleted. The following command automates the process of deleting all installed files and empty directories:

tar -tf g77-bin.tar | sort -r | (cd /; xargs -p -n 1 rm -d)

(replace the "-p" switch with "-t" so that you are not prompted to delete each file.)

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.