Difference between revisions of "Lazarus on Raspberry Pi"

From Lazarus wiki
Jump to navigationJump to search
(Lazarus category, use <syntaxhighlight> instead of deprecated <code>)
Line 8: Line 8:
 
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:
 
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:
  
<code>
+
<syntaxhighlight>
 
   sudo apt-get update
 
   sudo apt-get update
 
   sudo apt-get upgrade
 
   sudo apt-get upgrade
 
   sudo apt-get install fpc
 
   sudo apt-get install fpc
 
   sudo apt-get install lazarus
 
   sudo apt-get install lazarus
</code>
+
</syntaxhighlight>
  
 
This installs a precompiled version of Lazarus on the Raspberry Pi. Of course, a network connection is required. Installation may take about 30 minutes, but major portions of this process take place automatically. After installation you may instantly start Lazarus via the LXDE development menu.
 
This installs a precompiled version of Lazarus on the Raspberry Pi. Of course, a network connection is required. Installation may take about 30 minutes, but major portions of this process take place automatically. After installation you may instantly start Lazarus via the LXDE development menu.
Line 23: Line 23:
 
[[Category:Linux]]
 
[[Category:Linux]]
 
[[Category:Raspberry Pi]]
 
[[Category:Raspberry Pi]]
 +
[[Category:Lazarus]]

Revision as of 10:05, 6 December 2012

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. Of course, a network connection is required. Installation may take about 30 minutes, but major portions of this process 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.