![]() Unpack the CodeBlocks archive (here the 32-bit version) with your GUI archive app or in the terminal:.In this case you can skip xterm installation. If you want to use your standard terminal, go to “Settings|Environment|General settings” to edit it after you finished the installation. Sudo apt-get install build-essential gfortran xtermĬB uses xterm to execute console applications. Install the packages xterm, build-essential and gfortran with your GUI package manager or via terminal. ![]() Download Code::Blocks for Fortran for the appropriate architecture (32-/64-bit) from the developer’s homepage.I recommend to use the binaries of the complete Fortran version provided on the Plugin-Homepage. Installation and setupĬode:Blocks is available in the repositories of Ubuntu and Mint and maybe in many other distros. It took some time for me till I noticed that CB needs xterm to execute console apps by default and it was not installed on my system. The installation on GNU/Linux is quite easy but there are some issues novices may struggle. To get CB running on Windows refer links at the end of this article. For Mac OS X you need the original CB and the plugin “Fortran Project” which you have to compile. But the binary Fortran version is available for Windows and GNU/Linux only. Like Photran CodeBlocks (CB) is cross-platform. ![]() This How-To is for GNU/Linux and Fortran novices and shows how to install CodeBlocks for Fortran system-wide on GNU/Linux (here on Mint), compile your first program and get it run. But Darius Markauskas developed a Fortran plugin and provides a special Fortran version of CodeBlocks. Since Photran is specialised for Fortran, CodeBlocks is made for C/C++ programmers in the first place. Beneath Photran the IDE Code::Blocks is available.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |