Recent

Author Topic: Installing Lazarus 1.8.4 on Ubuntu 18.04  (Read 19880 times)

dbannon

  • Sr. Member
  • ****
  • Posts: 462
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Installing Lazarus 1.8.4 on Ubuntu 18.04
« Reply #75 on: February 04, 2019, 07:12:52 am »
Yep, I just say "Package Manager" - do you think I need be specific ? I ask because I personally dont use USC, I prefer Synaptic, its always the very first thing I install.

Every distro has its own "package manager" - I'd like to be general where we can but not at the risk of clarity.....

Yes, I think we should make it clearer that the distro packages are always suspect from a currency view.

Your third point is one we need to drill down on. My tests show using fpc form Ubuntu is fine with both SourceForge and built from src Lazarus. Have you seen otherwise ?

Or do you mean using (eg) Ubuntu Lazarus with SourceForge FPC ?  I'd consider that very brave, would not advise that at all.

And maybe its why my favourite model, building Lazuras from source  works well ? Then, apt does not know about Lazarus at all, so no repository conflicts possible ?

Lazarus 1.8, Linux (and reluctantly Win10, OSX)
My Project - https://github.com/tomboy-notes/tomboy-ng

Handoko

  • Hero Member
  • *****
  • Posts: 2856
  • My goal: build my own game engine using Lazarus
Re: Installing Lazarus 1.8.4 on Ubuntu 18.04
« Reply #76 on: February 04, 2019, 07:23:41 am »
I checked the wiki page and I didn't see you mentioned Ubuntu Software Center.

My point is:
Newbies (Ubuntu users) who don't know much about using Linux should try the easiest first.
« Last Edit: February 04, 2019, 07:28:59 am by Handoko »

dbannon

  • Sr. Member
  • ****
  • Posts: 462
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Installing Lazarus 1.8.4 on Ubuntu 18.04
« Reply #77 on: February 05, 2019, 11:42:54 am »
OK, Handoko, I have put in more about GUI package managers.  And test script for fpc and some example command lines for  redhat sort of people. I've not tested any of this on a redhat system, any Centos, Fedora or RedHat users out there ??

http://wiki.freepascal.org/Installing_Lazarus_on_Linux

Davo
Lazarus 1.8, Linux (and reluctantly Win10, OSX)
My Project - https://github.com/tomboy-notes/tomboy-ng

dbannon

  • Sr. Member
  • ****
  • Posts: 462
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Installing Lazarus 1.8.4 on Ubuntu 18.04
« Reply #78 on: February 06, 2019, 11:00:34 am »
Hmm, so, timing !
I have rewritten that HowTo given todays new release. The change of name of the fpc in SourceForge, means mix and match distro and sourceforge is no longer possible on Debian based things. And, maybe is not a good idea on eg RPM based system ?

Good outcome is the HowTo is now heaps simpler and shorter.

What is not dealt with is dist upgrades ??

davo 
Lazarus 1.8, Linux (and reluctantly Win10, OSX)
My Project - https://github.com/tomboy-notes/tomboy-ng

VTwin

  • Hero Member
  • *****
  • Posts: 574
  • Former Turbo Pascal 3 user
Re: Installing Lazarus 1.8.4 on Ubuntu 18.04
« Reply #79 on: February 22, 2019, 03:10:31 pm »
Thanks for the work on wiki davo. Just a note on my recent install on Ubuntu in case it is helpful to someone. I downloaded:

fpc-laz_3.0.4-1_amd64.deb
fpc-src_3.0.4-2_amd64.deb
lazarus-project_2.0.0-0_amd64.deb

and put them in a folder. Then navigated to the folder in the Terminal (type "cd " and then you can drag the folder to the terminal to insert the full path). On Ubuntu, I need to install libgtk2.0-dev to solve dependencies. The following did the trick for me:

# fix any dependency errors
sudo apt-get -f install

# install libgtk2.0-dev & lazarus
sudo apt-get install libgtk2.0-dev
sudo dpkg -i *.deb

Cheers,
VTwin
“Talk is cheap. Show me the code.” -Linus Torvalds

macOS 10.11.6: Lazarus 2.0.1 svn 60471 (64 bit Cocoa)
Ubuntu 18.04.2: Lazarus 2.0.0 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.0.0 (64 bit on VBox)