Difference between revisions of "Raspbian"
From Lazarus wiki
Jump to navigationJump to searchJwdietrich (talk | contribs) (Redirected page to Lazarus on Raspberry Pi) |
Jwdietrich (talk | contribs) (Page created.) |
||
Line 1: | Line 1: | ||
− | + | '''Raspbian''' is a free operating system based on the [[Debian]] [[Linux]] distribution optimized for the [[Raspberry Pi]] hardware. Current versions of Raspbian support both Free Pascal and Lazarus. | |
+ | |||
+ | ==Installing Free Pascal== | ||
+ | |||
+ | Free Pascal is easily installed with the following shell commands: | ||
+ | |||
+ | <syntaxhighlight> | ||
+ | sudo apt-get update | ||
+ | sudo apt-get upgrade | ||
+ | sudo apt-get install fpc | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | There are three modes to use Free Pascal on Raspbian: | ||
+ | |||
+ | * via the shell command <code>fpc</code>. This requires to enter a number of options along with the <code>fpc</code> command. | ||
+ | * via the shell command <code>fp</code>. This command starts a text-based IDE. | ||
+ | * via Lazarus, see below | ||
+ | |||
+ | ==Installing Lazarus== | ||
+ | |||
+ | The steps to install Lazarus are very similar to those required for installing Free Pascal: | ||
+ | |||
+ | <syntaxhighlight> | ||
+ | sudo apt-get update | ||
+ | sudo apt-get upgrade | ||
+ | sudo apt-get install fpc | ||
+ | sudo apt-get install lazarus | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | 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 [http://www.michellcomputing.co.uk/blog/2012/11/lazarus-on-the-raspberry-pi/ Michell Computing: Lazarus on the Raspberry Pi] for details. | ||
+ | |||
+ | [[Category:Linux]] | ||
+ | [[Category:Raspberry Pi]] |
Revision as of 20:15, 1 September 2013
Raspbian is a free operating system based on the Debian Linux distribution optimized for the Raspberry Pi hardware. Current versions of Raspbian support both Free Pascal and Lazarus.
Installing Free Pascal
Free Pascal is easily installed with the following shell commands:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install fpc
There are three modes to use Free Pascal on Raspbian:
- via the shell command
fpc
. This requires to enter a number of options along with thefpc
command. - via the shell command
fp
. This command starts a text-based IDE. - via Lazarus, see below
Installing Lazarus
The steps to install Lazarus are very similar to those required for installing Free Pascal:
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.