Sign in Join
Wiki copytemporary

Installing Lazarus: what changed

Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.

Title: Installing Lazarus

OldNewLine
1+## Overview
2+
3+For people who simply want to install Lazarus and start using it for programming, the easiest approach is to download and install a recent, reasonably stable binary release (such as a Linux ".rpm" package, a Windows ".exe" installer, or a macOS ".dmg" disk image or installer ".pkg" package).
4+
5+For those who want to participate in the development of the compiler or the Lazarus IDE, or for those who want the most up-to-date tools, an installation from source files is necessary.
6+
7+The Lazarus IDE provides two main parts:
8+
9+- LCL - the Lazarus Component Library
10+- IDE - the RAD tool itself
11+
12+These in turn are dependent on:
13+
14+- FPC - the Free Pascal Compiler
15+- FCL - the Free Pascal Component library, containing most of the non-graphic components used by the Lazarus IDE.
16+
17+## Lazarus system requirements
18+
19+1. A Free Pascal Compiler, packages, and sources. (*Important*: of the same version/date)
20+2. A supported widget set:
21+ :;Win32/Win64: The native Win32 API can be used, or the Qt widgetset.
22+
23+ :;Linux/BSD: GTK+ 2.x or Qt : Most Linux distributions and *BSDs already install the GTK+ 2.x libraries. You can also find them at <http://www.gtk.org>.\
24+ Qt is also supported with all distributions (auto installed if you prefer KDE).
25+
26+ :;macOS: You need the Apple Xcode developer tools. For macOS versions before 10.15 (Catalina), the 32 bit Carbon or 64 bit Cocoa widget sets can be used.\
27+ For macOS 10.15 onwards, the 64 bit Cocoa widget set must be used as all 32 bit support has been removed by Apple.\
28+ Qt can be used too, but it requires much more effort.
29+
30+
31+
32+The Qt widget set is supported on Linux 32/64, Win 32/64, macOS 32/64, FreeBSD 32/64, Haiku and embedded Linux (qtopia) platforms. For more details about the installation of Qt, see the [[Qt Interface]] article.
33+
34+## Operating system specific guides
35+
36+- Remember that the Free Pascal Compiler and the Lazarus IDE are separate products, you almost certainly need to install FPC, FPC Source and Lazarus (maybe in that order!).
37+
38+- Some people recommended using the [[fpcup|fpcUP]] updater-installer for first time users of Lazarus, which installs Free Pascal and Lazarus in one go into a single subdirectory structure ( ~/development ).
39+
40+### FreeBSD
41+
42+- See [[Installing Lazarus on FreeBSD]]
43+
44+### Haiku
45+
46+- See [[Installing Lazarus on Haiku]]
47+
48+### Linux
49+
50+**See [[Installing Lazarus on Linux]] which covers most of what you need for most Linux Distributions.**
51+
52+- The command to start Lazarus from a console is [[startlazarus]]. If you installed it from a Debian package, you should have a Lazarus menu entry under Application/Programming.
53+- Issue: there is an ambiguity with a program also called "lazarus" from a `tct` package available for Ubuntu.
54+- For a fully working Lazarus installation, older versions of the FPC compiler, FPC source or Lazarus can be a problem if present.
55+- Some people recommended using [[fpcup|fpcUP]] updater-installer for first time users of Lazarus, which installs Free Pascal and Lazarus in one go into a single subdirectory structure (~/development).
56+
57+Some distribution specific pages exist, but they may not be as up to date as the [[Installing Lazarus on Linux]] guide.
58+
59+- [[Install on aarch64 Arch or Manjaro]]
60+- [[Install on Fedora]]
61+- [[Scientific Linux]]
62+
63+**Ubuntu/Debian Linux notes**
64+
65+- The Debian Testing Repository, unlike Ubuntu Releases, often contains a current or near current version of FPC and Lazarus. Feedback is needed and appreciated; please send your comments to Carlos Laviola \<claviola@debian.org\>
66+- Building debs the easy way - A possible way to get a current working installation of Lazarus is to download and build your own .deb packages by following the instructions at [[How to setup a FPC and Lazarus Ubuntu repository]]
67+
68+### macOS
69+
70+- See [[Installing Lazarus on macOS]]
71+
72+### Raspbian
73+
74+- See [[Lazarus on Raspberry Pi]]
75+
76+### Windows
77+
78+- See [[Installing Lazarus on Windows]]
79+
80+## Multiple Lazarus installs
81+
82+Please see [[Multiple Lazarus]] for details on having more than one Lazarus version installed on one system. We cover issues that can arise due to multiple Lazarus installs here, because they can also happen when installing over a previous version.
83+
84+## Troubleshooting
85+
86+Troubleshooting details that should (hopefully) be applicable across platforms may be found in the article [[Installation Troubleshooting]].
87+
88+## Lazarus FAQ
89+
90+The Lazarus FAQ - Frequently Asked Questions - page is available [[Lazarus Faq|here]].
91+
92+## Installing old versions
93+
94+See [[Installation hints for old versions]]
95+
96+## See also
97+
98+- A real "in depth" build guide is [here](http://www.stack.nl/~marcov/buildfaq.pdf).
99+- [[Getting Lazarus]].
100+
101+---
102+*From the Free Pascal wiki, page "Installing Lazarus", as it stood on 2021-01-17 after a change by Trev, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*

Back to history