Recent

Author Topic: Can't install Lazarus lazarus-project_2.2.0RC1-0_amd64.deb on Ubuntu...[SOLVED]  (Read 4657 times)

Robert W.B.

  • Sr. Member
  • ****
  • Posts: 328
  • Love my Wife, My Kids and Lazarus/Freepascal.
The following packages have unmet dependencies: but no dependencies is showned!!!
Anyone that can give me the solution.

Ubunto 20.0.4   lazarus-project_2.2.0RC1-0_amd64.deb

Thanks in advance
Bob
« Last Edit: October 16, 2021, 09:03:46 pm by Robert William Blennerhed »
Rob

Robert W.B.

  • Sr. Member
  • ****
  • Posts: 328
  • Love my Wife, My Kids and Lazarus/Freepascal.
I found the solution  :)

First open terminal:
sudo apt update

then in terminal:
sudo apt install lazarus

https://www.howtoinstall.me/ubuntu/18-04/lazarus/

Hurray.
Sincereley
Bob
« Last Edit: October 16, 2021, 09:17:44 pm by Robert William Blennerhed »
Rob

AlexTP

  • Hero Member
  • *****
  • Posts: 2386
    • UVviewsoft
"sudo apt install lazarus" is not a solution - it installs not the latest Laz from Laz site, but some 'packaged version'.

Robert W.B.

  • Sr. Member
  • ****
  • Posts: 328
  • Love my Wife, My Kids and Lazarus/Freepascal.
So, why don't you let us know the right solution then!
The regulary version in Ubuntu software doesn't work to install!!!
so, this works for me so I'm satisfeid with this.
Cheers, Bob
Rob

dbannon

  • Hero Member
  • *****
  • Posts: 2786
    • tomboy-ng, a rewrite of the classic Tomboy
The regulary version in Ubuntu software doesn't work to install!!!
so, this works for me so I'm satisfeid with this.

Are you saying that the one in the Ubuntu Repository does not work but the one you get with "sudo apt install lazarus" does ?   The news it they are exactly the same. The version you get will depend on the version of Ubuntu you are using but it will not be as new as RC1. (Mind you, I thought RC2 was out anyway?).

If your downloaded file from Source Forge is lazarus-project_2.2.0RC1-0_amd64.deb  then -

Code: [Select]
sudo apt install ./lazarus-project_2.2.0RC1-0_amd64.deb
Would be the correct command to install that and to resolve dependencies at the same time. Sometime, despite all the advice on https://wiki.freepascal.org/Installing_Lazarus_on_Linux people try to use dpkg to install the downloaded deb, that will fail to resolve dependencies.

When a command fails and you wish to ask for help, showing people here just what the failed command looks like makes it a great deal easier to help. That is particularly the case with new linux users.

Davo
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

ccrause

  • Hero Member
  • *****
  • Posts: 845
I found the solution  :)
The screenshot you attached shows Lazarus 2.0.6, not 2.2.0RC1.

 

TinyPortal © 2005-2018