In order to compile the Pascal programs, you will need the Free Pascal Compiler

I recommend downloading the 32 bit for Windows whether you have 32 bit or 64 bit. Once you download, run the installer. It will install Free Pascal on your computer.

Check that the compiler is in your path for the cmd prompt. Adjust the following accordingly.

set path=C:\FPC\2.6.4\bin\i386-Win32;%path%

In order to compile a pascal program, execute the following command from the cmd prompt. This assumes that the source is in the same folder.

c:\Users\brian\src> fpc Appliance.pas

It will produce an .exe. Run this from the cmd prompt too.

Linux

Install the Free pascal compiler. The package is often known as fpc

sudo apt-get install fpc
or
sudo yum install fpc
[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory  -  
[   ]Appliance.exe2016-02-06 12:46 32K 
[TXT]Appliance.pas2016-02-06 12:46 1.2K 
[TXT]HEADER.html2016-02-06 12:52 932  
[   ]PaintEstimator.exe2016-02-06 12:46 39K 
[TXT]PaintEstimator.pas2016-02-06 12:46 2.8K 
[   ]Swap.exe2016-02-06 12:46 32K 
[TXT]Swap.pas2016-02-06 12:46 576  
[TXT]problem09.txt2016-02-06 12:46 3.5K 
[TXT]readme.html2016-02-06 12:52 932  
[TXT]readme.md2016-02-06 12:52 848  
[TXT]swapit.txt2016-02-06 12:46 723  

Apache/2.4.62 (Debian) Server at brie.com Port 443