Other macOS installation options
│ English (en) │
Official FPC and Lazarus Installation Options
For the officially supported FPC and Lazarus installation options, please see Installing Lazarus on macOS. It is recommended that new users use the officially supported options.
Other FPC Installation Options
You could also consider using fink, a package manager for macOS to install FPC. Fink also offers numerous Free Pascal crosscompilers for many processors and operating systems. An extra bonus is easy installation as well as clean removal of FPC and a huge number of other open source software packages.
You could also consider using fpcupdeluxe to install FPC.
You could also consider using MacPorts, to install FPC. An extra bonus is easy installation as well as clean removal of FPC and a huge number of other open source software packages.
Other Lazarus IDE installation options
You could also consider using fink, a package manager for macOS to install Lazarus. Note at the time of writing (Early 2020) fink offers Lazarus 2.0.6. The extra bonus of fink is easy installation as well as clean removal of a huge number of other open source software packages, including Free Pascal crosscompilers for many processors and systems. The choice for Lazarus is between a Carbon or Cocoa look, a gtk2 look, a Qt4-based and a Qt5-based version:
$ fink install lazarus-aqua // or $ fink install lazarus-cocoa // or $ fink install lazarus-gtk2 // or $ fink install lazarus-qt4 // or $ fink install lazarus-qt5
You will be asked, whether to install a number of dependencies, including the Free Pascal Compiler, the Lazarus sources. Simply hit RETURN at the prompt and go for a coffee. It may take quite some time to build all packages, in particular on older Macs.
After installation, Lazarus can be started from the folder /Applications/Fink/. The actual details of FPC and Lazarus are in subdirectories of /sw
With any Lazarus package from fink, these widget sets are supported for your program on macOS:
carbon (Aqua), cocoa, gtk2, qt4 (Aqua), qt5 (Aqua), nogui, win32, win64 and wince.
If you install FPC from fink, you will be fine downloading Lazarus source and compiling as detailed below. However, it is possibly not a good idea to mix fink FPC with the Sourceforge binary install of Lazarus.
You could also consider using fpcupdeluxe to install Lazarus.
MacPorts also has a package description of the cocoa-64 bit Intel version of Lazarus. Install it with:
$ port install lazarus