1/5/2023 0 Comments Ubuntu install gfortran![]() ![]() f90 the extension will be used and for Fortran 95 –. ![]() For example: If the source code is in FORTRAN 77 the code file will be saved with. Code Exampleĭepending upon the Fortran code, save the code file with the appropriate extension. You can replace the 11 with the version in the above command you are using. To check the installed version: gfortran -version ![]() Install Gfortran 11 on Ubuntu sudo apt install gfortran-11 sudo add-apt-repository ppa:ubuntu-toolchain-r/test Hence, if you want that then can add a PPA. However, currently while writing the article Gfortran version 11 was not available in the default repository of Ubuntu 20.04. The default base repository of Ubuntu 20.04 LTS offers 5 to 10 versions of it, so if you want to install any of them, can use the appropriate command given below: GFrotran 5 sudo apt install gfortran-5 For Version 6 sudo apt install gfortran-6 For Version 7 sudo apt install gfortran-7 For Version 8 sudo apt install gfortran-8 For Version 9 sudo apt install gfortran-9 For Version 10 sudo apt install gfortran-10 For Gfortran Version 11 and other latest one in development: Make sure you have an updated system and for that run the below-given system update command that will also rebuild the repository cache. Steps to install GFortran latest version on Ubuntu 20.04 Linux Run system update ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |