[Lazarus] clean installation

Bo Berglund bo.berglund at gmail.com
Thu Mar 10 12:56:36 CET 2016


On Wed, 9 Mar 2016 16:21:06 -0500, Richard Medina
<medina.rc at gmail.com> wrote:

>I am having problems to install the last version of Lazarus.
>Please anyone can help me?
>I am using linux mint (ubuntu).
>I already donwloaded the last version Lazarus 1.6 with fpc3.0.0. and fpc
>source 3.0.0.

I have created a Linux Mint 17.3 (Mate) virtual machine to be used
with Lazarus. I had no problems installing it from sources.
Here is from what I did:

1) Create the directories for files
------------------------------------
mkdir ~/dev
mkdir ~/dev/fpc
mkdir ~/dev/lazarus

2) Download files
------------------
FTP release 3.0.0 binary for Intel X64:
ftp://freepascal.stack.nl/pub/fpc/dist/3.0.0/x86_64-linux/fpc-3.0.0.x86_64-linux.tar

FTP 3.0.0 sources via svn:
cd ~/dev/fpc
svn co http://svn.freepascal.org/svn/fpc/tags/release_3_0_0 3.0.0

Lazarus release 1.6 via svn:
cd ~/dev/lazarus
svn co http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_6 1.6

3) Install FPC
--------------
Unpack the FPC tar file into a temp location, then inside that dir
execute:
sudo ./install.sh

4) Install Lazarus
------------------
Note that this step may take quite some time...
cd ~/dev/lazarus/1.6
make bigide

5) Start Lazarus IDE
---------------------
~/dev/lazarus/1.6/startlazarus

Now when the start dialog shows up it will probably ask for the FPC
sources.
Just navigate to ~/dev/fpc/3.0.0 and hit Ok

DONE!

If you want a start icon on the desktop you can add it easily by:
nano ~/Desktop/lazarus_1.6.desktop

Then enter the following into the file:

[Desktop Entry]
Encoding=UTF-8
Exec=~/dev/lazarus/1.6/startlazarus
Icon=~/dev/lazarus/1.6/images/ide_icon48x48.png
Type=Application
Terminal=false
Comment=Lazarus IDE
Name=Lazarus IDE 1.6
GenericName=lazarus 1.6
StartupNotify=false
Categories=Development;IDE;Pascal;

Save this (Ctl-X and yes...)

Finally:
chmod +x ~/Desktop/lazarus_1.6.desktop
Now the start icon will appear on the desktop.


-- 
Bo Berglund
Developer in Sweden





More information about the Lazarus mailing list