Download
Install Lazarus IDE or FreePascal compiler using your preferred package manager:
info
Note: Lazarus IDE includes the FreePascal compiler. If you only need the compiler for command-line compilation, you can install FreePascal separately.
- Linux
- Windows
- macOS
Lazarus IDE
Ubuntu/Debian
sudo apt-get update
sudo apt-get install lazarus
Fedora
sudo dnf install lazarus
Arch Linux
sudo pacman -S lazarus
FreePascal Compiler
Ubuntu/Debian
sudo apt-get update
sudo apt-get install fpc
Fedora
sudo dnf install fpc
Arch Linux
sudo pacman -S fpc
Lazarus IDE
winget install Lazarus.Lazarus
FreePascal Compiler
winget install FreePascal.FreePascalCompiler