Difference between revisions of "Install on Ubuntu"

From Lazarus wiki
Jump to navigationJump to search
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{Platform only|Ubuntu|Ubuntu|Ubuntu}}
 
{{Platform only|Ubuntu|Ubuntu|Ubuntu}}
 +
 +
'''See [[Installing Lazarus on Linux]] - this page covers most of what you need for most Linux Distributions.'''
 +
 
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.  
 
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.  
  
  apt-get install lazarus
+
  sudo apt install lazarus
  
 
== 15.10 ==
 
== 15.10 ==
Line 10: Line 13:
 
On Ubuntu FPC 3.0.4 will be installed in <tt>/usr/bin</tt> while Lazarus 2.0.6 will be installed in <tt>~/.lazarus</tt>
 
On Ubuntu FPC 3.0.4 will be installed in <tt>/usr/bin</tt> while Lazarus 2.0.6 will be installed in <tt>~/.lazarus</tt>
  
==Old Ubuntu releases==
+
== 21.10 ==
* [[Install on Ubuntu 11.10]]
+
FPC 3.2.2 will be installed in <tt>/usr/bin</tt> while Lazarus 2.0.12 will be installed in <tt>~/.lazarus</tt>
 +
 
 +
== from .deb ==
 +
Install a specific lazarus version from .deb:
 +
sudo apt install gdebi
 +
sudo gdebi lazarus-project_2.0.12-0_amd64.deb
  
==See also==
+
== git ==
* [[Install on Ubuntu from .deb files]]
+
git clone https://gitlab.com/freepascal.org/lazarus/lazarus.git .lazarus2
 +
cd .lazarus2
 +
make
 +
./lazarus --pcp=~/.lazarus2
  
 
[[Category:Ubuntu]]
 
[[Category:Ubuntu]]
 
[[Category:Install]]
 
[[Category:Install]]

Latest revision as of 06:48, 21 May 2022

Logo-ubuntu cof-orange-hex.svg

This article applies to Ubuntu only.

See also: Multiplatform Programming Guide

See Installing Lazarus on Linux - this page covers most of what you need for most Linux Distributions.

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.

sudo apt install lazarus

15.10

On Ubuntu 15.10 Lazarus 1.4.0 / FPC 2.6.4 will be installed.

20.04

On Ubuntu FPC 3.0.4 will be installed in /usr/bin while Lazarus 2.0.6 will be installed in ~/.lazarus

21.10

FPC 3.2.2 will be installed in /usr/bin while Lazarus 2.0.12 will be installed in ~/.lazarus

from .deb

Install a specific lazarus version from .deb:

sudo apt install gdebi
sudo gdebi lazarus-project_2.0.12-0_amd64.deb

git

git clone https://gitlab.com/freepascal.org/lazarus/lazarus.git .lazarus2
cd .lazarus2
make
./lazarus --pcp=~/.lazarus2