Recent

Author Topic: Install Lazarus in Linux Mint  (Read 1804 times)

coradi

  • Full Member
  • ***
  • Posts: 149
Install Lazarus in Linux Mint
« on: March 14, 2024, 11:41:32 pm »
Hallo,
if I try it, it says, t"Dependency is not satisfiable:fpc-laz(=3.2.2)
If I use the old version from application manager, then it works but there are missing sources!?!
With Windows there are no problems like this :-(

Now I have modified the path to
/usr/share/fpcsrc/3.2.2

And with ignoring I get
Kompiliere Package freetypelaz 1.0: Exit code 1, Fehler: 1
laz_avl_tree.pp(24,58) Fatal: Invalid PPU-File entry: 87
« Last Edit: March 15, 2024, 12:19:24 am by coradi »
Amstrad Schneider CPC 6128
AVR8/ARM(STM32)

nouzi

  • Sr. Member
  • ****
  • Posts: 299
Re: Install Lazarus in Linux Mint
« Reply #1 on: March 15, 2024, 01:16:07 am »
Hi @coradi
First remove all pkage  ( apt remove FPC* laz* )
Go to your home folder show hide file ( ctrl + h ) and delete folder ".Lazarus"
Open URL https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20amd64%20DEB/Lazarus%203.2/ if your system 64bit or
URL  https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20i386%20DEB/Lazarus%203.2/ if your system 32bit
Download 3 file deb after download install this file

Sorry my English :)
« Last Edit: March 16, 2024, 12:08:54 am by nouzi »
My English is  bad
Lazarus last version free pascal last version
Lazarus trunk  free pascal trunk 
System : Linux mint  64bit  Windows 7 64bit

cdbc

  • Hero Member
  • *****
  • Posts: 1497
    • http://www.cdbc.dk
Re: Install Lazarus in Linux Mint
« Reply #2 on: March 15, 2024, 07:10:21 am »
Hi
Doing what nouzi said, the order of installation is:
1) fpc
2) fpc-src
3) lazarus
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE5 -> FPC 3.2.2 -> Lazarus 2.2.6 up until Jan 2024 from then on it's: KDE5/QT5 -> FPC 3.3.1 -> Lazarus 3.0

Hartmut

  • Hero Member
  • *****
  • Posts: 803
Re: Install Lazarus in Linux Mint
« Reply #3 on: March 15, 2024, 09:32:24 am »
I too had tremendous problems to install FPC/Lazarus on Linux (Ubuntu) before I got to know *fpcupdeluxe*. I strongly recommend to use this tool to install FPC/Lazarus. One of it's *many* benefits is, that the complete installation is put in only *one* selectable destination folder. That means, that your installation is not scattered over uncountable system folders. This has big advantages, especially if you will have someday more than 1 different FPC/Lazarus versions parallel working. And the installation of cross-compilers is more easier.

Wiki: https://wiki.freepascal.org/fpcupdeluxe
Sub-Forum: https://forum.lazarus.freepascal.org/index.php/topic,34645.0.html

Dzandaa

  • Sr. Member
  • ****
  • Posts: 349
  • From C# to Lazarus
Re: Install Lazarus in Linux Mint
« Reply #4 on: March 15, 2024, 02:56:58 pm »
Hi,

What version of Mint do you use?

64 or 32 bits?

I use Lazarus on multiple linux Mint P.C. and even netbook without problem (some are old: only 2 cores)

Don't use the Lazarus version on Mint repository, it is and old version.

if you already installed Lazarus from Mint repository

Uninstall it  with the "Software manager"

or

Uninstall it completely with "Synaptic Package Manager"

Search for "fpc", look what is installed (Green square), select  it with Right Click and  "Mark for Removal" then "Apply"
Do the same with "lazarus"

For the installation, I download the 3 packages from here:

https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20amd64%20DEB/Lazarus%202.2.6/

I install the 3 packages in order:

fpc-laz_3.2.2-210709_amd64.deb // The compiler for 64 bits
fpc-src_3.2.2-210709_amd64.deb // The sources  for 64 bits
lazarus-project_2.2.6-0_amd64.deb // The IDE for 64 bits

By clicking on the .deb file you run the "Archive Manager" then "Install"
or in console:
sudo dpkg -i <package.deb>



After the first run, I install "anchordockingdsgn" from "Package->Install/Uninstall Packages" to have a pleasant environment.

And rebuild Lazarus IDE

B->

Regards,
Dzandaa

 

TinyPortal © 2005-2018