There is no fpc.exe in linux enviroment. So I need to find pc.1.gz? Or other document? And add its containing folder.
ChengweiLou opened this issue · 3 comments
Add the folder containing the compiler (fpc.exe) to your PATH environment variable.
(base) .....:~$ whereis pc
pc: /usr/bin/pc /usr/share/man/man1/pc.1.gz
Most Linux distributions include Free Pascal in their packaging systems.
Alternatively, you can download from https://www.freepascal.org/download.html
There are some detailed instructions in https://wiki.freepascal.org/Category:Install
Most Linux distributions include Free Pascal in their packaging systems.
Alternatively, you can download from https://www.freepascal.org/download.html
There are some detailed instructions in https://wiki.freepascal.org/Category:Install
Sorry for bothering you again.
So do I need to add the PATH environment variable with ubuntu?
If you use apt to install FPC 3.0.4 or the debs from Lazarus (FPC 3.2.0), they're already in the default path.
If you install from the pure FPC binary, you might need to add it to your PATH.