Difference between revisions of "Lazarus on RPi"

From eLinux.org
Jump to: navigation, search
(Compiling from sources)
(Simple installation)
Line 3: Line 3:
 
==Simple installation==
 
==Simple installation==
  
In the Raspbian distribution Lazarus and Free Pascal are easily installed with the following shell commands:
+
In the [[Raspbian]] distribution Lazarus and Free Pascal are easily installed with the following shell commands:
  
 
<syntaxhighlight>
 
<syntaxhighlight>

Revision as of 08:58, 8 December 2012

Lazarus is a cross-platform IDE for Free Pascal, a professional 32 bit / 64 bit Pascal Compiler. Lazarus supports a wide variety of processors and Linux distributions including the Raspberry Pi, where it runs natively.

Simple installation

In the Raspbian distribution Lazarus and Free Pascal are easily installed with the following shell commands:

  sudo apt-get update
  sudo apt-get upgrade
  sudo apt-get install fpc
  sudo apt-get install lazarus

This installs a ready-to-use precompiled version of Lazarus, however not necessarily the newest one.

Compiling from sources

The newest versions of Lazarus are distributed as source code. In order to compile Lazarus from subversion sources see Michell Computing: Lazarus on the Raspberry Pi for details.

External Links