[Lazarus] How do I install Linux Kubuntu daily snapshots of Lazarus etc?

Christopher Kirkpatrick chris.kirkpatrick at doctors.org.uk
Mon Aug 11 09:24:38 CEST 2008




On Mon, 11 Aug 2008 15:34:40 +1000
  "Peter Williams" <pewtas at gmail.com> wrote:
> G'day All Lazarus people, from 'Down Under',
> 
> I think that I need to install the Lazarus and FPC 
>'daily snapshots'
> -- since I've encountered a bug in Lazarus 0.9.24 which 
>Mattias tells
> me has been fixed in Lazarus 0.9.25 -- and the only way 
>I think I can
> get 0.9.25 is by using the daily snapshots of it.
> 
> http://wiki.lazarus.freepascal.org/Lazarus_Snapshots_Downloads
> 
> I need to say that I'm only a newbie at Linux and even 
>more of a
> newbie at Kubuntu. I downloaded the .rpm files (3 of 
>them) earlier
> this morning... however, I don't know the exact command 
>to enter at a
> 'root terminal'. Please refer to the attachment, which 
>is plain text
> copy of a 'root terminal' session & it shows that I 
>tried to use the
> 'rpm' command of Kubuntu... but alas, I was fumbling 
>around in the
> dark 'cos I really didn't know the exact command to do 
>this -- e.g.
> I'll admit it -- I didn't really know what I was doing! 
>{ Hey, until
> this morning I didn't even know that there was such a 
>thing as a 'rpm'
> command. }
> 
> Is it possible to have some kind of 'script' (I think 
>they're called)
> which would install these files by simply running the 
>script?!?
> 
> Please tell me the *exact* commands which I would need 
>to enter to
> install the Lazarus & FPC files.
> 
> Best Wishes and Happy Debugging,
> PEW   *SMILE*
> 
> -- 
>Fond Regards,
> Peter Eric (aka 'pew') WILLIAMS
> from Hobart, Tasmania, Australia -- phone (03) 6236-9675

Go to the directory where you have downloaded the .rpm 
files. Make sure you have the latest files for fpc, fpcsrc 
and lazarus.

The 'rpm' command doesn't work properly in Debian 
derivatives like Kubuntu, and you need to convert .rpm 
files to .dev files using the 'alien' command.
At the command line, change to root (in Kubuntu you do 
this by prefixing each command by 'sudo' and entering your 
own password when prompted) and type the following:

alien -c fpc*     //this will convert both the fpc and 
fpcsrc files to debian format and convert the install 
scripts
alien -c laz*

Then install the resultant .deb files by typing

sudo dpkg -i fpc*.deb laz*.deb

For more information, see

http://wiki.lazarus.freepascal.org/Installing_Lazarus#Another_way_to_install_Lazarus_under_Debian

Hope this helps
Regards - Chris



More information about the Lazarus mailing list