@@ -93,12 +93,29 @@ We recommend installing **GFortran** as your first compiler.
9393
9494### GFortran
9595
96- GFortran is a free open source compiler.
96+ GFortran is a free open- source compiler.
9797It is part of the Gnu Compiler Collection (GCC).
9898Comprehensive installation instructions are on the
9999[ GFortran install page on fortran-lang] [ install-gfortran ] .
100100
101- You can also install GFortran via [ conda] ( https://docs.conda.io/projects/conda/en/latest/user-guide/install/index.html ) :
101+ Check whether you already have GFortran installed:
102+
103+ ``` bash
104+ gfortran --version
105+ ```
106+
107+ If GFortran is installed, this should print a few lines related to GFortran's version number and license.
108+ If there is instead a "Command not found" message, install GFortran via your system's package manager, for example
109+
110+ ``` bash
111+ sudo apt install gfortran
112+ ```
113+
114+ on Debian-based systems. See [ the website] [ install-gfortran ] for instructions for other operating systems.
115+ Note that this requires root access.
116+
117+ Without root access,
118+ you can also install GFortran locally with [ conda] ( https://docs.conda.io/projects/conda/en/latest/user-guide/install/index.html ) :
102119
103120``` bash
104121$ conda install conda-forge::gfortran
@@ -227,6 +244,7 @@ Setup instructions for some editors are available below.
227244Editor Setup Quick Links:
228245
229246- [ Emacs] ( #emacs )
247+ - [ Vim] ( #vim )
230248- [ VS Code] ( #vs-code )
231249
232250### Emacs
@@ -267,6 +285,12 @@ This file is stored in your home directory.
267285
268286:::::::::::::::::::::::::
269287
288+ ### Vim
289+ [ Vim] [ vim-link ] is powerful customizable command-line text editor. Fortran syntax highlighting and indenting are present by default.
290+
291+ To add additional Fortran features including syntax checking, linting, and keyboard shortcuts, install vim plugin [ vimf90] [ vimf90-link ]
292+ by following the instructions for Vundle or another vim plugin manager.
293+
270294### VS Code
271295
272296[ Visual Studio Code (VS Code)] [ vscode-link ] is another powerful cross-platform IDE.
0 commit comments