Il 20/07/24 00:43, Arí Ricardo Ody via lazarus ha scritto:
Talking about my problem installing Lazarus on Linux Mint
Mr. Mattias Gaertner wrote:
"Please install all three packages:
fpc-laz, fpc-src and lazarus-project."
<snip>
I'm using Lazarus under different Linux distros since 25 years, and I
never found a platform where it doesn't install and work properly, so
I've collected a fairly good experience.
You have three ways to install Lazarus:
1) if the distro provides a Lazarus package, you may try to take
advantage of it. That means in a Debian distro using apt-get or in a
Red-Hat style distro using yum or dnf. Usually either it doesn't work at
all, or it's an old obsolete version. If it doesn't work perfectly at
the first attempt, forget about what your distro provides.
2) get rid of anything related with Lazarus and fpc your distro has
provided, and when positively you get a "not found" both for
"startlazarus" and "fpc" invocation, download and install the three
packages suggested by Mattias Gartner *from the fpc-lazarus website*,
selecting your architecture and your package format (deb in your case)
You may find it just Here
<https://www.lazarus-ide.org/index.php?page=downloads>
3) Use fpcupdeluxe, which performs an "isolated" installation, not
giving a damn about the mess your distro has made with fpc and Lazarus.
Just download the binary for your platform, make it executable, select
an appropriate installation directory in your user space and launch it.
Select the stable versions of fpc and Lazarus, and if you want to test
the new features, you may later install a second version in a different
folder with the "trunk" versions. You may download fpcupdeluxe for your
architecture from Here
<https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases?after=crosslibs_v1.3>.
If you don't see what you need, just click on "Show all 43 assets" to
get the full list. I believe that what you need is just a plain
fpcupdeluxe-x86_64-linux.
Both in cases 2) and 3) it might complain about some system libraries
missing. It tells you the library it needs but it can't know the name of
the package in which your distro has included it. It's then up to you to
locate and install the necessary packages, either asking apt-get which
package provides that library, or asking the web.
Hope that it helps.
Giuliano
--
Do not do to others as you would have them do to you.They might have different
tastes.
--
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus