Go here and click the link at the bottom of the page (g95-Mingw_201210). Run the downloaded file and install the g95 compiler.
I'm going to assume that you are on windows, but for linux is exactly the same steps:
1) Open command prompt (win7: start->search for cmd)
2) In the command prompt...