A wiki contem o script abaixo que baixa e instala o Lazarus de maneira automática:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
gpg --keyserver hkp://pgp.mit.edu:11371 --recv-keys 6A11800F | |
gpg --export 6A11800F | sudo apt-key add - | |
sudo echo "deb http://www.hu.freepascal.org/lazarus/ lazarus-stable universe" \ | |
> /etc/apt/sources.list.d/lazarus.list | |
sudo apt-get update | |
sudo apt-get install lazarus |
Seguindo a wiki, colei o conteúdo do script acima em um arquivo (getlaz) no diretório home. Depois executei os seguintes comandos:
chmod +x getlaz
./getlaz
A versão baixada foi a 0.9.28 com FPC 2.4.0.
[]'s,
Ericson Benjamim.