Hi
@murobio:
Are you sure that there is nothing left of the installation from the Mint repository?
Don't use the Lazarus version on Mint repository, it is not the latest.
I advise you to start from scratch:
Uninstall it with the "Software manager"
or better
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"
Download the 3 packages from Sourceforge
Install them in this order:
fpc-laz, fpc-src, lazarus project
by just clicking on each .deb files (that launch the "Archive Manager") then Install.
I didn't test the latest version of Lazarus (3.

with Linux Mint Linux Mint 20, so try first an older version like 3.4 or 3.6.
I also just use the 64 bits versions of Lazarus.
After the first run, I install "anchordockingdsgn" from "Package->Install/Uninstall Packages" to have a pleasant environment.
For Graphic, I use "BGRABitmap" and "BGRAControls" from "Package->Online Package Manager"
Some tricks for linux:
Enable access to USB:
sudo usermod -a -G dialout <user>
Open GL: cannot find -lGL (for BGRABitmap)
sudo apt install libgl1-mesa-dev
SQLite:
sudo apt install sqlite3
sudo apt install libsqlite3-dev
Slow:
sudo apt install appmenu-gtk2-module
sudo apt-get install libgtk2.0-dev
Missing dependencies:
apt-get install -f
Missing Debugger:
apt-get install gdb
Ask if you have problems.
B->