Hey Mi-Ki,
For future reference.
There are, at least, 4 ways one can install a FPC/Lazarus set:
- From the distro's own repositories
- From the install binaries provided by Source Forge
- From source - manually
- From source - using fpcupdeluxe
From my own experience in many distros, including the ones working on a Raspberry Pi, but not limited to, the first option is always the wrong one.
Mainly because most distros are lagging quite a lot when compared with the most current stable version released.
And, specifically, due to the small issues with version names that you encountered.
The second option should be the one a newby should always opt for.
It's easy for all the supported platforms/package managers.
Alas, there is no ARM support,
YET( package managers: wink, wink, nudge, nudge ).
The third option will allow you to install in any platform that is actually supported by Free Pascal, the compiler and Lazarus the IDE.
Granted, it's not for the faint of heart and it does mean jumping through some hoops.
The fourth option is, in any case, including ARM/AARCH64, one that works, and is rather point and click.
As you can see from the 40 binaries listed on the
fpcupdeluxe release page, that you're not starved from choice

In hopes this helps you and anyone in the future!
Cheers,
Gus