Hey Pascal111,
The problem with most Linux distributions, and Debian based ones in particular, is that the Lazarus/FPC version offered are pretty old.
Ever since @DonAlfredo released
fpcupdeluxe we can now install any combination of Lazarus/FPC versions
WITH cross-compilation.
You will find in the
fpcup releases section a list of releases and their respective platform binaries.
Then:
- Download the appropriate binary for you Linux Mint. This should be the fpcupdeluxe-i386-linux if it's a 32b install or fpcupdeluxe-x86_64-linux if it's a 64b install.
- Make sure that you set the executable bit on the binary by means of chmod +x fpcupdeluxe-<CPU>-linux or via the file browser, right click on the binary and choose Properties
- Make sure you have the following packages installed:
$ sudo apt install
make \
binutils \
build-essential \
gdb \
git \
subversion \
zip \
unzip \
libx11-dev \
libgtk2.0-dev \
libgdk-pixbuf2.0-dev \
libcairo2-dev \
libpango1.0-dev
- Run fpcupdeluxe
- On the Edit at the TOP-LEFT corner choose the folder you want to install
- On the two List Boxes on the left most side, select the versions of both FPC and Lazarus. A sound choice is to set them both to stable.
- Press the big button that has the FPC+Lazarus=Thumbs Up button
- Wait for the magic to happen
Once all the compilation has happened and
fpcupdeluxe reports success, you'll have a link on your desktop to run Lazarus.
Cheers,
Gus