Well here goes these are the steps that worked for me. Hope this helps but I have to say that you follow them at your own risk.
I am certainly Linux no expert and I am using a RPi4 running the latest version of RPi OS.
All the commands following are typed in a terminal window after the $ prompt. I have shown them in large font
I am not sure if git is installed as standard but make sure you have it by typing
The first thing is to make sure you have all the prerequisites and dependencies.
So open Terminal and type the following command, probably easiest to copy and paste it using the right mouse button. This is all one line it is just wrapping in the viewer.