Difference between revisions of "Other macOS installation options"

From Free Pascal wiki
Jump to navigationJump to search
(OthermacOS Installation options for FPC + Lazarus)
 
(→‎Other FPC Installation Options: Add MacPorts; enhance Fink)
Line 9: Line 9:
 
=== fink ===
 
=== fink ===
  
You could also consider using [http://finkproject.org/ fink], a package manager for macOS to install FPC.  
+
You could also consider using [http://finkproject.org/ fink], a package manager for macOS to install FPC. Fink also offers numerous [[Cross_compiling#From_macOS_to_any_using_fink|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.
  
 
=== fpcupdeluxe ===
 
=== fpcupdeluxe ===
  
 
You could also consider using [[fpcupdeluxe]] to install FPC.
 
You could also consider using [[fpcupdeluxe]] to install FPC.
 +
 +
=== MacPorts ===
 +
 +
You could also consider using [https://www.macports.org 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 ==
 
== Other Lazarus IDE installation options ==

Revision as of 08:25, 9 August 2021

English (en)

macOSlogo.png

This article applies to macOS only.

See also: Multiplatform Programming Guide


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

fink

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.

fpcupdeluxe

You could also consider using fpcupdeluxe to install FPC.

MacPorts

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

fink

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.

fpcupdeluxe

You could also consider using fpcupdeluxe to install Lazarus.

MacPorts

MacPorts also has a package description of the cocoa-64 bit Intel version of Lazarus. Install it with:

$ port install lazarus