Lazarus on Raspberry Pi

From Lazarus wiki
Revision as of 02:56, 6 December 2012 by Jwdietrich (talk | contribs)
Jump to navigationJump to search
Lazarus on Raspian Wheezy.
Lazarus on Raspian Wheezy

The Raspberry Pi is a credit-card-sized single-board computer. It has been developed in the UK by the Raspberry Pi Foundation with the intention of stimulating the teaching of basic computer science in schools. Raspberry Pis are also used for multiple other purposes that are as different as media servers, robotics and control engineering.

The Raspberry Pi Foundation recommends Raspian Wheezy as standard operating system. However, alternative systems including RISC OS and various Linux distributions, even Android, may be used.

Simple installation

In the Raspian operating system it is easy to install Lazarus and Free Pascal. In order to do this simply open a terminal window and type:

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

This installs a precompiled version of Lazarus on the Raspberry Pi. Installation may take about 30 minutes, but major parts take place automatically. After installation you may instantly start Lazarus via the LXDE development menu.

Compiling from sources

You may want to compile Lazarus from subversion sources. See Michell Computing: Lazarus on the Raspberry Pi for details.