Install on Ubuntu: what changed
Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.
| Old | New | Line | |
|---|---|---|---|
| 1 | 1 | *(Ubuntu only)* | |
| 2 | 2 | ||
| 3 | 3 | **See [[Installing Lazarus on Linux]] - this page covers most of what you need for most Linux Distributions.** | |
| 4 | 4 | ||
| 5 | 5 | The easiest way to install lazarus and corresponding versions of [[FPC]] is by means of the **Ubuntu Software Center** that will install the lazararus/fpc version that is supported by the Ubuntu version. | |
| 6 | 6 | ||
| 7 | - | ||
| 7 | + | ```text | |
| 8 | + | sudo apt install lazarus | |
| 9 | + | ``` | |
| 8 | 10 | ||
| 9 | 11 | ## 15.10 | |
| 10 | 12 | ||
| 11 | 13 | On Ubuntu 15.10 Lazarus 1.4.0 / FPC 2.6.4 will be installed. | |
| 12 | 14 | ||
| 13 | 15 | ## 20.04 | |
| 14 | 16 | ||
| 15 | 17 | On Ubuntu FPC 3.0.4 will be installed in `/usr/bin` while Lazarus 2.0.6 will be installed in `~/.lazarus` | |
| 16 | 18 | ||
| 17 | 19 | ## 21.10 | |
| 18 | 20 | ||
| 19 | 21 | FPC 3.2.2 will be installed in `/usr/bin` while Lazarus 2.0.12 will be installed in `~/.lazarus` | |
| 20 | 22 | ||
| 21 | 23 | ## from .deb | |
| 22 | 24 | ||
| 23 | 25 | Install a specific lazarus version from .deb: | |
| 24 | 26 | ||
| 25 | - | ||
| 26 | - | ||
| 27 | + | ```text | |
| 28 | + | sudo apt install gdebi | |
| 29 | + | sudo gdebi lazarus-project_2.0.12-0_amd64.deb | |
| 30 | + | ``` | |
| 27 | 31 | ||
| 28 | 32 | ## git | |
| 29 | 33 | ||
| 30 | - | ||
| 31 | - | ||
| 32 | - | ||
| 33 | - | ||
| 34 | + | ```text | |
| 35 | + | git clone https://gitlab.com/freepascal.org/lazarus/lazarus.git .lazarus2 | |
| 36 | + | cd .lazarus2 | |
| 37 | + | make | |
| 38 | + | ./lazarus --pcp=~/.lazarus2 | |
| 39 | + | ``` | |
| 34 | 40 | ||
| 35 | 41 | --- | |
| 36 | 42 | *From the Free Pascal wiki, page "Install on Ubuntu", as it stood on 2022-05-21 after a change by Malcome, 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).* | |
| 37 | 43 | Category: Install | |
| 38 | 44 | Category: Ubuntu |
