How to install Free Pascal on Ubuntu 18.04

# To install the app:
sudo apt update
apt install fpc

# To prevent "Can't find unit system" error:
sudo ln -s /usr/lib/x86_64-linux-gnu/fpc /usr/lib/fpc


Now run, the editor:


To complie an app from source code:

fpc hello_world.pas

Leave a Reply

Your email address will not be published. Required fields are marked *