Installing Lazarus on macOS
From Free Pascal wiki
Jump to navigationJump to searchOverview
Unfortunatly, there is no native Aqua-version of Lazarus for MacOS X.
Required software
- Install Apple´s X11, available on your MacOS X Installation Disk or at Apple. This is for OS X to be able to display X11 programs. Tip: Drag the X11-Icon from /Applications/Utilities/X11 into the Dock for convenient starting.
- Install Apple´s XCode, available on your MacOS X Installation Disk or at Apple Developer Connection. This installs the XCode IDE and all the developer stuff.
- Install fink, available at Sourceforge. This is the OS X 'apt-get'esque package system.
- After successfull installation of the above, open a Terminal and type:
sudo apt-get install glib glib-shlibs gtk+-shlibs gdk-pixbuf-shlibs
This installs GTK.
- Install fpc and Lazarus as .dmg for MacOS X. Now your´re ready to run.
How to get going
- Start X11.
- You get your XTerm. Focus it and type
cd /usr/share/lazarus/ ./lazarus
How to update fpc and Lazarus to the newest version
- Install SVN for MacOS X: A good package is provided by Martin Ott.