Recent

Author Topic: How to install FPC 2.4.2 on Ubuntu ?  (Read 21413 times)

mdalacu

  • Full Member
  • ***
  • Posts: 209
    • dmSimpleApps
Re: How to install FPC 2.4.2 on Ubuntu ?
« Reply #15 on: March 29, 2011, 07:04:04 am »
The Ubuntu way is to install the ppa. On 10.10 and the with Lazarus 0.9.30 it does not work.  :( Please help. Did anyone succeed in upgrading Lazarus from 9.28 stable?
« Last Edit: March 29, 2011, 08:43:08 am by mdalacu »

Blaazen

  • Hero Member
  • *****
  • Posts: 2955
  • POKE 54296,15
    • Eye-Candy Controls
Re: How to install FPC 2.4.2 on Ubuntu ?
« Reply #16 on: March 29, 2011, 01:59:57 pm »
I use SVN versions for both fpc and Lazarus. I have fpc installed in /usr ... but I have Lazarus only compiled in /home ... (I don't install it). I also tried fpc 2.4.2. Everything worked on Kubuntu.
So how exactly you try upgrade?
Lazarus 2.1.0 r64044 FPC 3.3.1 r40507 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

mdalacu

  • Full Member
  • ***
  • Posts: 209
    • dmSimpleApps
Re: How to install FPC 2.4.2 on Ubuntu ?
« Reply #17 on: March 30, 2011, 09:59:21 am »
I try to upgrade between Ubuntu stable versions 0.9.20 - 0.9.30, using ppa from wiki.

DanArg

  • Newbie
  • Posts: 2
Re: How to install FPC 2.4.2 on Ubuntu ?
« Reply #18 on: April 03, 2011, 03:46:30 am »
Hi mdalacu.

A few hours ago I have install lazarus 0.9.30 on Ubuntu 10.04.2 64 bits with just a temporal problem.
First I have uninstall lazarus 0.9.28 from the software center (not using the synaptic package manager).
Then follow the instructions to install from repository stated at
http://wiki.lazarus.freepascal.org/Installing_Lazarus/es#Via_Repositorios_para_instalar_en_Ubuntu
(spanish page, anyway is quite straightforward), ie:
  • Add gpg hey: open a console window and execute:
     gpg --keyserver hkp://pgp.mit.edu:11371 --recv-keys 6A11800F
     gpg --export 6A11800F | sudo apt-key add -

  • Add repository: open synaptic package manager, add repository with this APT line:
    deb http://www.hu.freepascal.org/lazarus/lazarus-stable universe
    then reload the package information
  • Install the program: using synaptics search for lazarus, select lazarus-0.9.30 (which already includes fpc 2.4.2) and mark to install. A lot of dependencies will be marked and installed automatically. Apply changes and wait...

End of the installation.
Like I mention here, the first run of lazarus several "package not found" windows appears, but the problem solved itself after save and run a very basic project, no problem with the application. Then I have close and reopen Lazarus, no more error windows.
Good luck!!!!

michaelthuma

  • New Member
  • *
  • Posts: 46
Re: How to install FPC 2.4.2 on Ubuntu ?
« Reply #19 on: April 03, 2011, 10:39:38 am »
Uninstall the old packages, download the new ones from the official downloads ...

I personally unpacked the packages for fpc in a seperate directry ...

First installed FPC and then Lazarus ...

sudo dpkg --force-overwrite --install *.deb

As suggested in the 0.9.30 Release announcement ... Worked...

Gizmo

  • Hero Member
  • *****
  • Posts: 714
Re: How to install FPC 2.4.2 on Ubuntu ?
« Reply #20 on: May 22, 2011, 12:16:08 am »
Just for the benefit of other users who may find this thread...

I took the plunge today and updated FPC and Lazarus to 0.9.30 and 2.4.2. As I use Ubuntu 10.04, 0.9.28 and 2.4.0 are the main packaged versions. I attempted the upgrade as stated above and it caused conflicts that I didn't really understand but basically it seemed to try and run both versions alongside eachother and I got various error messages.

So I used the Synaptic Package Manager to Completely Remove all installed packages for Lazarus and FPC (I just entered 'lazarus' in the search field and they were all listed for both things). I then repeated the steps stated above, and it worked a treat. So I'm not sure what the initial conflicts were, but I am all up to date now.

I must say there is VERY noticeable difference between 0.9.28 and 0.9.30! I am really pleased I've upgraded. The forms look so much sharper and brighther, and the code looks much sharper too. I'm not sure exactly what has been changed but it looks great. I even notice StringGrids in the Object Inspector have their elements included! Very neat.

Ted
Lazarus 2.0.4 and fpc 3.0.4 - Linux Mint 19 LTS, Windows 10 64 and Mac OSX Catlina
Useful Page to remember : http://wiki.freepascal.org/Cross_compiling#From_Linux_x64_to_Linux_i386

 

TinyPortal © 2005-2018