Raspbian/es

From Free Pascal wiki
Revision as of 23:55, 31 March 2018 by Jma sp (talk | contribs) ()
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Raspberry Pi Logo.png

This article applies to Raspberry Pi only.

See also: Multiplatform Programming Guide

Raspbian (aka Wheezy) es una distribución basada en Debian Linux que está optimizada para funcionar con el hardware Raspberry Pi. Las versiones actuales de Raspbian soportant tanto FreePascal como Lazarus.

Instalando FreePascal

FreePascal es facilmente instalable con los siguientes mandatos desde el shell:

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

Hay tres modos de utilizar FreePascal en Raspbian:

  • via the shell command fpc. This requires to enter a number of options along with the fpc 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. The information there is somewhat outdated but still usable.

The easiest way to compile from source is to use fpcup . See also fpcup in this wiki.

Screenshots

Hardware access

See Lazarus on Raspberry Pi for details.

External Links