However, there are sectors where it is very important and that is why there are still tools for the language. Conclusionįortran is a very old programming language. So, GNU Fortran is correctly installed on Fedora 34. Hello world! Welcome to Osradar 2.- Running the sample app Now compile it gfortran -o hello hello.f90 You can install it using dnf or use whatever you preferĪnd add this simple code that prints out a message program hello So, create a fortran file and add some code. The compiler is installed, but to make sure it is working correctly, we need to test it. Warranty not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This is free software see the source for copying conditions. Sample output GNU Fortran (GCC) 11.1.1 20210531 (Red Hat 11.1.1-3)Ĭopyright (C) 2021 Free Software Foundation, Inc. Now yes, you can install it by running the following command sudo dnf install gcc-gfortran 1.- Install GNU Fortran on Fedora 34Īfter that, you can check the installed version by running the following command gfortran -version So the quickest way to do the installation is to open a terminal and first update the system. Install GNU Fortran on Fedora 34įortunately, GNU Fortran is available in the official Fedora 34 repositories. So let’s install and test it on Fedora 34.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |