Recent

Author Topic: Error Installing lazarus-project_2.0.2-0_amd64 on Linux Minit  (Read 7225 times)

Handoko

  • Hero Member
  • *****
  • Posts: 5132
  • My goal: build my own game engine using Lazarus
Re: Error Installing lazarus-project_2.0.2-0_amd64 on Linux Minit
« Reply #15 on: May 02, 2019, 04:46:58 pm »
I'm not a Linux expert. But I often uninstall and reinstall Lazarus on my Linux machine and these are what I found:

Without using third party tools, installing Lazarus on Ubuntu sometimes may fail. Read more:
"Installing FPC Using Ubuntu Software - FAILED"
https://forum.lazarus.freepascal.org/index.php/topic,39281.msg269112.html#msg269112

Gdebi is GUI tool that can help you install Lazarus on Ubuntu easily. It worked for installing Lazarus 1.8.4 on Ubuntu 18.04 and older versions. But later I found Gdebi was unable to install Lazarus 1.8.4 on Ubuntu 18.10 and Lazarus 2.0.2 on Ubuntu 19.04 if I don't run it as super user (sudo gdebi-gtk).

I recommend Synaptic Package Manager, a tool that can let you inspect installation issues like dependency, version conflict and broken package. It also can be used for doing version locking unfortunately it may fail on some Linux OS.

justnewbie

  • Sr. Member
  • ****
  • Posts: 292
Re: Error Installing lazarus-project_2.0.2-0_amd64 on Linux Minit
« Reply #16 on: May 02, 2019, 08:27:32 pm »
I made the install like this (always worked!):
1./ Uninstall the previous version, even manually delete the .lazarus folder from home/user folder (of course, my projects are saved in other location).
2./ Download the 3 install files (fpc-laz,fpc-src,lazarus) from here: https://www.lazarus-ide.org/
3./ Copy these 3 files into 1 folder
4./ In the Terminal: $ sudo apt-get install libgtk2.0-dev
5./ In the Terminal open up the folder which contains the 3 files and $ sudo dpkg -i *.deb
That's it, you are ready!  :)

dbannon

  • Hero Member
  • *****
  • Posts: 2786
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Error Installing lazarus-project_2.0.2-0_amd64 on Linux Minit
« Reply #17 on: May 03, 2019, 12:38:30 pm »
justnewbie, I agree that removing any existing .lazarus dir from $HOME is a good idea. I think a lot of the problems users have is due to older installs. But some people want to retain some aspects of their previous install and Lazarus does try and do just that. But maybe it goes wrong occasionally .....

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

 

TinyPortal © 2005-2018