Recent

Author Topic: how to update fpc and lazarus  (Read 4904 times)

hamza

  • Jr. Member
  • **
  • Posts: 52
how to update fpc and lazarus
« on: May 02, 2015, 02:51:01 pm »
hi

I have FPC 2.6.0 ,LAZARUS 0.9.30.4-6 AND ARM -LINUX GTK 2
How can I update them to newer one??

also I m trying to make update but I get the following:
@sudo apt-get install fpc
Reading package lists... Done
Building dependency tree       
Reading state information... Done
fpc is already the newest version.
fpc set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

@sudo apt-get install lazarus
Reading package lists... Done
Building dependency tree       
Reading state information... Done
lazarus is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


I hope to find clear reply.............
« Last Edit: May 02, 2015, 11:09:22 pm by hamza »

Leledumbo

  • Hero Member
  • *****
  • Posts: 8757
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: how to update fpc and lazarus
« Reply #1 on: May 02, 2015, 07:30:31 pm »
If you can't convince your distro maintainer, use .deb-s from sourceforge. Download links on the left.

hamza

  • Jr. Member
  • **
  • Posts: 52
Re: how to update fpc and lazarus
« Reply #2 on: May 02, 2015, 09:53:47 pm »
thank you for help.

really im still new with linus and i do not know how to install and update the program!!!!!!!!!!!!?

also  my  distro maintainer give me that " fpc set to manually installed.",, so, how to set it auto update??

Signal

  • New Member
  • *
  • Posts: 41
Re: how to update fpc and lazarus
« Reply #3 on: May 02, 2015, 10:24:51 pm »
Which distro are you using? It's hard to give advice on distro specific issues if you don't tell us which one you are using.


hamza

  • Jr. Member
  • **
  • Posts: 52
Re: how to update fpc and lazarus
« Reply #4 on: May 02, 2015, 11:11:42 pm »
I have raspbian distribution and its refer to Debian distribution (supose it Debian).

Leledumbo

  • Hero Member
  • *****
  • Posts: 8757
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: how to update fpc and lazarus
« Reply #5 on: May 03, 2015, 02:52:08 am »
raspbian is based on debian wheezy, don't hope to get anything up to date there. AFAIK there's no prebuilt one for raspbian, so you would have to build from source. Not a new linux user task...

hamza

  • Jr. Member
  • **
  • Posts: 52
Re: how to update fpc and lazarus
« Reply #6 on: May 04, 2015, 12:19:36 am »
ok, I will install the debian or ubunto on my arm32bit computer but I dont know if the generated application can work coreectly on the raspbian again??what do you think??
« Last Edit: May 04, 2015, 12:34:53 am by hamza »

Leledumbo

  • Hero Member
  • *****
  • Posts: 8757
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: how to update fpc and lazarus
« Reply #7 on: May 04, 2015, 07:51:02 am »
ok, I will install the debian or ubunto on my arm32bit computer but I dont know if the generated application can work coreectly on the raspbian again??what do you think??
ubuntu might be better, as it's based on debian unstable, which has more up to date packages. But if I were you, I will use a rolling release distro that always has bleeding edge packages such as archlinux. To be sure that your app will still run on raspbian, check the compatibility between used library versions but the most important thing is to use the same floating point format (hard) since raspbian uses hard float.

Eugene Loza

  • Hero Member
  • *****
  • Posts: 674
    • My games in Pascal
Re: how to update fpc and lazarus
« Reply #8 on: May 05, 2015, 06:30:02 am »
P.S. when installing new version (i.e. DEBs) - REMOVE the previous installation first and remove any configuration folders there might be (i.e. ~/.lazarus). The last time I upgraded from 'Debian repository standard' to the fresh version I ended up with hopelessly struggling fpc.cfg configuration. I don't remember if it ended up successfully, but finally I had to reinstall the Debian system.
My FOSS games in FreePascal&CastleGameEngine: https://decoherence.itch.io/ (Sources: https://gitlab.com/EugeneLoza)

 

TinyPortal © 2005-2018