What IDE can I use to program in pascal with Ubuntu? What commands do I use to install it, or installer? I have version 17.10. And, if you can, you can also indicate a manual or book to learn it. Thank you very much.
What IDE can I use to program in pascal with Ubuntu? What commands do I use to install it, or installer? I have version 17.10. And, if you can, you can also indicate a manual or book to learn it. Thank you very much.
The free Pascal compiler is included in the Ubuntu repository as an fp-compiler package. Therefore, to install the compiler, you must install the compiler fp, executing this command in a terminal.
$ sudo apt-get install fp-compiler
Enter your root password and wait until the installation is complete. Now you can compile Pascal source code files (.pas), for example, by running
$ fpc file.pas
to compile a source code called file.pas in the current directory.
You can create Pascal files in any text editor. However, if you prefer to develop with Free Pascal IDE (integrated development environment), you can install the fp-ide package.
$ sudo apt-get install fp-ide
To start the IDE, run
$ fp
Your terminal will become the legendary blue editor of Free Pascal. You may receive a Debian error warning depending on your version of Ubuntu, but you can simply ignore it.
Source: link