Recent

Author Topic: Cannot find Online Package manager in V4.4 on RPi  (Read 1456 times)

Flea

  • New member
  • *
  • Posts: 9
Cannot find Online Package manager in V4.4 on RPi
« on: December 03, 2025, 10:08:26 am »
Hi, I have been using the fpcupdeluxe tool on the latest version of Raspberry Pi OS. Its version is 13.2 (trixie) which I believe has significantly changed under the hood in terms of front end. I've installed FPC 3.2.3 and Lazarus 4.4 (stable) and a few other versions.

I cannot for the life of me find Online Package Manager (OPM), normally under the 'Package' IDE menu in previous versions of Lazarus. On the Windows version that I have installed with the same version of Lazarus, OPM is there.

Any ideas? TIA.


wp

  • Hero Member
  • *****
  • Posts: 13350
Re: Cannot find Online Package manager in V4.4 on RPi
« Reply #1 on: December 03, 2025, 11:40:53 am »
For some reason, the OPM is not installed on your system. In order to install it go to "Package" > "Install/uninstall packages" > find the entry "Online package manager" in the right list ("Available for installation") > select it > click "Install selection" > then "rebuild IDE". After a while the IDE restarts and you should have the "Online package manager ..." item in the "Package" menu.

Flea

  • New member
  • *
  • Posts: 9
Re: Cannot find Online Package manager in V4.4 on RPi
« Reply #2 on: December 04, 2025, 10:32:40 am »
Thanks wp ! That fixed it in all my versions that I installed. How weird that it was not installed by default.

dseligo

  • Hero Member
  • *****
  • Posts: 1653
Re: Cannot find Online Package manager in V4.4 on RPi
« Reply #3 on: December 04, 2025, 10:54:32 am »
Thanks wp ! That fixed it in all my versions that I installed. How weird that it was not installed by default.

How did you install Lazarus?
Did you use FpcUpDeluxe?

Flea

  • New member
  • *
  • Posts: 9
Re: Cannot find Online Package manager in V4.4 on RPi
« Reply #4 on: December 04, 2025, 06:39:55 pm »
Yes, as per initial message in the thread, I used the fpcupdeluxe. Ive actually got my app compiling on a few version of Laz now using fpcupdeluxe :-)

dseligo

  • Hero Member
  • *****
  • Posts: 1653
Re: Cannot find Online Package manager in V4.4 on RPi
« Reply #5 on: December 04, 2025, 10:57:42 pm »
Yes, as per initial message in the thread, I used the fpcupdeluxe. Ive actually got my app compiling on a few version of Laz now using fpcupdeluxe :-)

Sorry, I missed that you said you used fpcupdeluxe.
I think that fpcupdeluxe doesn't install OPM by default.

ThomasK

  • Jr. Member
  • **
  • Posts: 53
Re: Cannot find Online Package manager in V4.4 on RPi
« Reply #6 on: December 14, 2025, 11:01:51 am »
Yes, as per initial message in the thread, I used the fpcupdeluxe. Ive actually got my app compiling on a few version of Laz now using fpcupdeluxe :-)

I was not able to compile 4.4 on a fresh Raspbian Trixie. Or recompile the IDE after installing Lazarus 4.4 with the *.deb from Source Forge.
This is the error message after rebuildung IDE
Code: Text  [Select][+][-]
  1. Warning: linker: /usr/bin/ld: cannot find -lgdk-x11-2.0: No such file or directory
  2. Warning: linker: /usr/bin/ld: cannot find -lgtk-x11-2.0: No such file or directory
  3. lazarus.pp(172,0) Error: Error while linking
  4. make[2]: *** [Makefile:4463: lazarus] Error 1
  5. make[1]: *** [Makefile:4914: ide] Error 2
  6. *** [Makefile(3173,0) Error: linker: ide] Error 2

And these are the messages after installing the *.deb:
Code: Text  [Select][+][-]
  1. dpkg: dependency problems prevent configuration of lazarus-project:
  2.  lazarus-project depends on libgtk2.0-dev (>= 2.6.0); however:
  3.   Package libgtk2.0-dev is not installed.
  4.  
  5. dpkg: error processing package lazarus-project (--install):
  6.  dependency problems - leaving unconfigured
  7. Processing triggers for gnome-menus (3.36.0-3) ...
  8. Processing triggers for mailcap (3.74) ...
  9. Processing triggers for desktop-file-utils (0.28-1) ...
  10. Processing triggers for man-db (2.13.1-1) ...
  11. Processing triggers for shared-mime-info (2.4-5+b2) ...
  12. Errors were encountered while processing:
  13.  lazarus-project
  14.  

And the both errors were
Started Pascal on a Siemens 4004/151 in 1977. TurboPascal 1.0 in 1984 on PC-Dos.

Thaddy

  • Hero Member
  • *****
  • Posts: 18728
  • To Europe: simply sell USA bonds: dollar collapses
Re: Cannot find Online Package manager in V4.4 on RPi
« Reply #7 on: December 14, 2025, 11:37:58 am »
You need to enable x11: trixie is wayland by default. You can also compile Lazarus for Qt6 instead of GTK2.
That is actually the better option since GTK2 itself is deprecated, although it is still the default in Lazarus.
Qt6 works fine on Lazarus + trixie.
If Europe sells their USA bonds the USD will collapse. Europe can affort that given average state debts. The USA can't affort that. Just an advice...

 

TinyPortal © 2005-2018