Last active
January 30, 2024 00:02
-
-
Save fedebenelli/cf3d3eae37e883cc0d43cdf7ccaf83d2 to your computer and use it in GitHub Desktop.
Setup WSL for Fortran development
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
install_packages() { | |
# First update everything. | |
apt update && apt upgrade | |
# Install: | |
# - Python package manager | |
# - GNU Fortran compiler | |
# - BLAS and LAPACK libraries (for linear algebra operations) | |
# - Gnu debugger | |
# - | |
apt install \ | |
python3-pip \ | |
gfortran \ | |
libblas-dev liblapack-dev \ | |
gdb \ | |
pipx | |
# Install fortran language server, fprettify and flinter | |
pipx install fortls fprettify flinter findent fpm | |
} | |
install_packages |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment