How would you test if a line is straight (on a plane and on a sphere) assuming you dont have tools to do it?

For example, how would a person done it hundreds of years ago?

For straight lines on a plane: I got plumb lines, symmetry/reflection.

But I'm stuck on straight lines on a sphere.

Any suggestions would be greately appreciated (for both sphere and plane).