Download
These are ready made packages, together with an install program, to get you up and running in no time. All packages contain a README file, which you should read for installation instructions and latest news.
The latest release is 3.2.2.
Because of a lack of release builders and testers, 3.2.2 is only available for a limited number of platforms and not in all package formats. If you want to change this and build and test future releases, contact us via the mailing lists.
Binaries
You can download the 3.2.2 release for the following cpu and operating systems:
- ARM
- Linux
- Android
- Windows CE
- Game Boy Advance
- Nintendo DS
- AROS
- Linux
- Android
- macOS
- Windows 32-bit (and a cross-compiler ARM/MIPS/i386-Android)
- Linux
- Mac OS X/OS X/macOS (and cross-compilers for ARM64, PowerPC(64), iOS & iPhoneSimulator, JVM/Java and JVM/Android).
- FreeBSD
- Solaris
- OS/2 (and eComStation)
- DOS (GO32v2 extender)
- Haiku
- AROS
- Windows 64-bit
- Linux
- Mac OS X/OS X/macOS (and cross-compilers for PowerPC(64)/Mac OS X, iOS & iPhoneSimulator, JVM/Java and JVM/Android).
- FreeBSD
- Solaris
- MS-DOS
- AmigaOS
- AIX
- Linux
- Mac OS X
- MorphOS
- Nintendo Wii
- AIX
- Linux
- Mac OS X
- Linux
- Linux
- Solaris
- Linux
- Linux (Experimental, not tested)
- Amiga
- Linux
Source
Documentation
Snapshots
In addition to the official releases, we also offer so-called «snapshots» of the compiler, RTL, IDE and a couple of other packages on the development page. These are compiled versions of the current sources with all fixes and improvements since the last official release, so please try them if you have any problems. Of course, they may also contain new bugs.
Old releases
Links to some old releases (not supported any more) of FPC for platforms for which no better alternative exists at the moment can be found here. Don’t bother to report any bugs with these old releases — we will not fix them. The main reason why these platforms aren’t supported any more is lack of maintainers — if you are interested to bring them up to date, contact us (e.g. using fpc-devel mailing list).
Privacy statement. Copyright Free Pascal team 1993-2019.
Page design by 6ix Shooter Media, additional modifications by Pos3idon.Free pascal for linux
If you use the .rpm format, installation is limited to
Where X.Y.Z is the version number of the .rpm file, and ARCH is one of the supported architectures (i386, x86_64 etc.).
If you use Debian, installation is limited to
Here again, XXX is the version number of the .deb file.
You need root access to install these packages. The .tar file allows you to do an installation below your home directory if you don’t have root permissions.
When downloading the .tar file, or the separate files, installation is more interactive.
In case you downloaded the .tar file, you should first untar the file, in some directory where you have write permission, using the following command:
We supposed here that you downloaded the file fpc.tar somewhere from the Internet. (The real filename will have some version number in it, which we omit here for clarity.)
When the file is untarred, you will be left with more archive files, and an install program: an installation shell script.
If you downloaded the files as separate files, you should at least download the install.sh script, and the libraries (in libs.tar.gz ).
To install Free Pascal, all that you need to do now is give the following command:
And then you must answer some questions. They’re very simple, they’re mainly concerned with 2 things : 1. Places where you can install different things. 2. Deciding if you want to install certain components (such as sources and demo programs).
The script will automatically detect which components are present and can be installed. It will only offer to install what has been found. Because of this feature, you must keep the original names when downloading, since the script expects this.
If you run the installation script as the root user, you can just accept all installation defaults. If you don’t run as root , you must take care to supply the installation program with directory names where you have write permission, as it will attempt to create the directories you specify. In principle, you can install it wherever you want, though.
At the end of installation, the installation program will generate a configuration file ( fpc.cfg ) for the Free Pascal compiler which reflects the settings that you chose. It will install this file in the /etc directory or in your home directory (with name .fpc.cfg ) if you do not have write permission in the /etc directory. It will make a copy in the directory where you installed the libraries.
The compiler will first look for a file .fpc.cfg in your home directory before looking in the /etc directory.