Don't use the Lazarus version on Mint repository, it is not the latest.
Uninstall The old version 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"
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:
1) fpc-laz_3.2.2-210709_amd64.deb
2) fpc-src_3.2.2-210709_amd64.deb
3) lazarus-project_2.2.6-0_amd64.deb
By clicking on the .deb file you run the "Archive Manager" then "Install"
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"
Hope that help.
B->