Install on aarch64 Arch or Manjaro
From Lazarus wiki
This article applies to ARM only.
See also: Multiplatform Programming Guide
Introduction
As of August 2020 binary packages for FPC and Lazarus are not available for Arch or Manjaro Linux on 64 bit ARM (aarch64).
A list of ARM packages for Arch Linux is available here https://archlinuxarm.org/packages
Manjaro is the default Linux version pre-installed on the Pinebook Pro for example.
It therefore necessary to download the FPC tar installer, FPC source, Lazarus source and compile Lazarus youself.
Instructions
Instructions to install FPC 3.20 and Lazarus for Manjaro are available here https://wiki.pine64.org/index.php?title=Freepascal_and_Lazarus_IDE_on_Manjaro