Getting linear distances between fiducial landmarks

I have created 5 fiducial markups in Slicer.

I would like to obtain the linear measurements between all of them (two by two).

I know that by selecting two points and right clicking we can obtain the linear measurement between those two landmarks. However, I was unable to find a way to get all linear distances.

Is there a way? maybe a quick Python script?

This is the example

If you mean all pairwaise distance, no there is no GUI way of doing it. You need to write a short python script.

Finally we solved this by exporting landmarks in JSON files and importing in R. Thanks

psDst = lambda pN: np.linalg.norm(ndA(pN), axis=-1, keepdims=True) # return (n, 1)