Sign in Join
Wiki copytemporary

Installing Lazarus on FreeBSD: what changed

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

OldNewLine
11## Installing Lazarus on FreeBSD
22
3-The following applies to FreeBSD 12.x, 13.x, 14.x and 15-CURRENT only. Earlier FreeBSD versions are end-of-life and not supported.
3+The following applies to FreeBSD 13.x (i386, amd64), 14.x (i386, amd64) and 15-CURRENT (aarch64, amd64) only. Earlier FreeBSD versions are end-of-life and not supported.
44
55### via the Ports tree
66
7-Currently, two versions of Lazarus are available in the FreeBSD ports tree v3.0.0 (release version) and v3.1.0 (development version). The latest version of the Free Pascal Compiler in the ports tree is v3.2.2 and v3.3.1 (development version). You can install the GTK2 version, QT5 version *or* QT6 version of Lazarus as follows:
8-
9-``` bash
7+Currently, two versions of Lazarus are available in the FreeBSD ports tree v3.6.0 (release version) and v4.99 (development version). The latest version of the Free Pascal Compiler in the ports tree is v3.2.3 and v3.3.1 (development version). You can install the GTK2 version, QT5 version _or_ QT6 version of Lazarus as follows:
8+```
109# cd /usr/ports/editors/lazarus && make install clean
1110```
1211
13-or
14-
15-``` bash
12+or
13+```
1614# cd /usr/ports/editors/lazarus-qt5 && make install clean
1715```
1816
19-or
20-
21-``` bash
17+or
18+```
2219# cd /usr/ports/editors/lazarus-qt6 && make install clean
2320```
2421
25-If you want use development (aka trunk) version of Lazarus do the following:
26-
27-``` bash
22+If you want use development (aka trunk) version of Lazarus do the following:
23+```
2824# cd /usr/ports/editors/lazarus-devel && make install clean
2925```
3026
31-or
32-
33-``` bash
27+or
28+```
3429# cd /usr/ports/editors/lazarus-qt5-devel && make install clean
3530```
3631
37-or
38-
39-``` bash
32+or
33+```
4034# cd /usr/ports/editors/lazarus-qt6-devel && make install clean
4135```
4236
43-Note: Installing Lazarus will also install the Free Pascal Compiler and its source files.
37+Note: Installing Lazarus will also install the Free Pascal Compiler and its source files.
4438
4539### via the pkg system
46-
47-``` bash
40+```
4841# pkg install editors/lazarus
4942```
5043
51-or
52-
53-``` bash
44+or
45+```
5446# pkg install editors/lazarus-qt5
5547```
5648
57-or
58-
59-``` bash
49+or
50+```
6051# pkg install editors/lazarus-qt6
6152```
6253
63-or
64-
65-``` bash
54+or
55+```
6656# pkg install editors/lazarus-devel
6757```
6858
69-or
70-
71-``` bash
59+or
60+```
7261# pkg install editors/lazarus-qt5-devel
7362```
7463
75-or
76-
77-``` bash
64+or
65+```
7866# pkg install editors/lazarus-qt6-devel
7967```
8068
81-Lazarus should install the Free Pascal Compiler source files. If you don't have them, you can add them:
82-
83-``` bash
69+Lazarus should install the Free Pascal Compiler source files. If you don't have them, you can add them:
70+```
8471# pkg install lang/fpc-source
8572```
8673
87-If you start Lazarus IDE at this point by typing **lazarus** you will get a dialog which needs you to input the directory in which the Free Pascal source files are located. Set it to **/usr/local/share/fpc-source-3.2.2**
74+If you start Lazarus IDE at this point by typing **lazarus** you will get a dialog which needs you to input the directory in which the Free Pascal source files are located. Set it to **/usr/local/share/fpc-source-3.2.3**
8875
8976### via the Lazarus repository
9077
91-This option will often be used if you want to follow Lazarus trunk, a fixes branch, or some other release (eg compiling from a source tarball).
78+This option will often be used if you want to follow Lazarus trunk, a fixes branch, or some other release (eg compiling from a source tarball).
9279
93-- Use the SubVersion or Git repositories to checkout a copy of the source code you want, or unpack a downloaded source archive into a suitable location. Recent versions of FreeBSD include the **svn** command as **svnlite**, so you do not need to install full Subversion package to checkout a copy of the source code.
80+ * Use the SubVersion or Git repositories to checkout a copy of the source code you want, or unpack a downloaded source archive into a suitable location. Recent versions of FreeBSD include the **svn** command as **svnlite** , so you do not need to install full Subversion package to checkout a copy of the source code.
9481
95-- The readme.txt file in Lazarus directory mentions **make clean all**. This only works if you are using Linux. Under FreeBSD you need to replace **make** with **gmake** and ensure that you have also installed the GNU gmake from ports.
82+ * The readme.txt file in Lazarus directory mentions **make clean all**. This only works if you are using Linux. Under FreeBSD you need to replace **make** with **gmake** and ensure that you have also installed the GNU gmake from ports.
9683
97-``` bash
98- cd /path/to/lazarus_source
99- gmake distclean all bigide
10084```
85+cd /path/to/lazarus_source
86+ gmake distclean all bigide
87+```
10188
10289### What does the bigide make argument do?
10390
91+The _bigide_ `make` argument adds a bunch of packages to Lazarus that many find useful and cannot do without. The packages that are added are:
92+
93+cairocanvas · chmhelp · datetimectrls · externhelp · fpcunit · fpdebug · instantfpc · jcf2 · lazcontrols · lazdebuggers | lclextensions · leakview · macroscript · memds · onlinepackagemanager · pas2js · PascalScript · printers · projecttemplates · rtticontrols | sdf · sqldb · synedit · tachart · tdbf · todolist · turbopower_ipro · virtualtreeview
94+---|---|---
95+
96+The above list is sourced from the _`[Lazarus source directory]/IDE/Makefile.fpc`_ and may be subject to change.
97+
98+Note that if you have not compiled your own Lazarus IDE with the _bigide_ argument, you can install any of these packages yourself using the Lazarus IDE [[IDE Window: Installed Packages|_Package > Install/Uninstall Packages..._]] dialog.
99+
104100## Installation troubleshooting
105101
106-Troubleshooting details that should (hopefully) be applicable across platforms may be found in the article [[Installation Troubleshooting]].
102+Troubleshooting details that should (hopefully) be applicable across platforms may be found in the article [[Installation Troubleshooting]].
107103
108-Some additional notes for FreeBSD installations can be found in the articles [[FreeBSD]] and [[Installing the Free Pascal Compiler]].
104+Some additional notes for FreeBSD installations can be found in the articles [[FreeBSD]] and [[Installing the Free Pascal Compiler]].
109105
110106## Multiple Lazarus installs
111107
112-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.
108+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.
113109
114110## Lazarus FAQ
115111
116-The Lazarus FAQ - Frequently Asked Questions - page is available [[Lazarus Faq|here]].
112+The Lazarus FAQ - Frequently Asked Questions - page is available [[Lazarus Faq|here]].
117113
118114## Installing old versions
119115
120116See [[Installation hints for old versions]]
121117
122118---
123-*From the Free Pascal wiki, page "Installing Lazarus on FreeBSD", as it stood on 2024-01-06 after a change by Acm, 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).*
124-Category: FPC
125-Category: FreeBSD
126-Category: Install
127-Category: Lazarus
119+*From the Free Pascal wiki, page "Installing Lazarus on FreeBSD", as the Internet Archive kept it on 2025-06-16, last changed on 2024-11-17. 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