September 30, 2020โ€ข5 min read

Installing Free Pascal on Windows

To run Pascal code on Windows you need a compiler. This time we'll use Free Pascal as both our compiler and our code editor.

Read in Indonesian

Before you start learning Pascal, get the tools and materials ready. It's like writing a short story: notebook and pen first, then the writing.

Programming works much like writing a work procedure. You write the steps, then you tell the computer to execute them.

So here's the problem: how does the computer understand the code you write? To solve it, you need a tool called a compiler.

The Pascal Compiler

Every programming language has its own compiler. As mentioned above, a compiler is a bridge between programmer and computer, so each side can understand what the other means.

Programmers are human, so they write in a language humans understand. The computer only understands machine language in the form of binary code. Reading binary would give anyone a headache, and a computer told to read human language wouldn't understand a word.

๐Ÿ“ท Illustration: a diagram of the compiler flow that bridges and translates human source code into machine binary instructions.

With a compiler, that language gap stops being a worry. The compiler acts as the translator from programming language (the language humans understand) to machine language (binary code).

For Pascal there are many compilers available. This tutorial uses Free Pascal.

Free Pascal is where all your Pascal coding happens: typing, compiling, and debugging. It will be a close companion while you learn Pascal heh.

Installing Free Pascal

Downloading the Program

You can download Free Pascal for free from SourceForge. Just click here. You'll be redirected to a SourceForge mirror site.

๐Ÿ“ท Illustration: the Free Pascal download page on the SourceForge site.

Once you're on SourceForge, wait about 5 seconds and the download starts automatically.

When this article was written, the Free Pascal version used was 3.2.0, with a file size of about 51 MB.

The Installation Process

Once the download finishes, we move on to installing Free Pascal. The process isn't much different from installing any other program, but a few extra steps here make it more comfortable to use.

The first step: open the Pascal installer by double-clicking the file. In the opening window, just click Next.

๐Ÿ“ท Illustration: the opening welcome window of the Free Pascal installer on Windows.

1. Choosing the Installation Folder

Next comes the Select Destination Location window. Here we'll use the default location, C:\FPC\3.2.0. If you want a different target folder, just click Browse.

๐Ÿ“ท Illustration: the destination folder window for the Free Pascal install on drive C.

Choosing a location on the system drive (drive C:) is recommended, because some people couldn't operate Free Pascal outside it. If you're unsure, leave the default location (C:\FPC\3.2.0).

2. Choosing Installation Components

Once the target folder is set, click Next. You'll land on the Select Components window. Choose Full Installation, since the install is light anyway: under 200 MB. When you're done, click Next.

๐Ÿ“ท Illustration: the component selection window with the Full Installation option.

3. Choosing a Start Menu Folder

Next comes the Select Start Menu Folder window. Leave the default and click Next. If you don't want Free Pascal in the start menu, tick Don't create a Start Menu folder.

๐Ÿ“ท Illustration: the window that sets the Free Pascal shortcut folder in the Windows Start Menu.

4. Choosing Additional Tasks

The next window is Select Additional Tasks. Tick every option so Windows recognizes Pascal file associations on your computer. After that, click Next.

๐Ÿ“ท Illustration: the additional tasks window that ties Pascal file extensions to Windows.

5. The Installation Confirmation

This is the Ready to Install confirmation window. You can review every configuration detail here, from the destination folder to the components. If it all looks right, just click Install.

๐Ÿ“ท Illustration: the configuration summary window shown before the Free Pascal install runs.

6. The Installation Begins

The installation is now running. How long it takes depends on your computer, but usually no more than 5 to 15 minutes.

๐Ÿ“ท Illustration: the install progress window, showing the component setup status.

7. Finishing

When the installation finishes, the window moves automatically to Information, which holds the release notes. Just click Next.

๐Ÿ“ท Illustration: the information window with the important release notes from Free Pascal.

On the final window, clear the View readme.txt checkbox and click Finish to close the wizard.

๐Ÿ“ท Illustration: the final install window, with the Finish button that closes the wizard.

Free Pascal Is Installed

Congratulations, Free Pascal is on your machine! You'll find the Free Pascal shortcut icon on the desktop, and you can open it right away.

๐Ÿ“ท Illustration: the Free Pascal IDE shortcut icon on the Windows desktop.

Once the app runs, the Free Pascal IDE window opens with the classic blue-tinted editor, ready to use.

๐Ÿ“ท Illustration: the opening screen of the Free Pascal IDE on Windows, with a blue background and a menu bar.

The Free Pascal window does look a bit dated, but it does a lot. Explaining it item by item here would run very long. For more on Free Pascal, visit the official page here.

In the next tutorial: building the first Pascal program, plus a look at a few of the important features in Free Pascal.

Get better at shipping code.

Join the other developers getting tech updates, tips, and relaxed tutorials in their inbox every week.

Stay in the loop

Tech updates, coding tips, and relaxed insights straight to your inbox every week.

No spam. Unsubscribe anytime.

Read next

See all

For developers who learn by struggling

ยฉ 2026 Inva.dev.