The calculated distance (air line) between Ar Rayāyinah and Tripoli is approximately 77 miles respectively 123 kilometers.
By car or train, the actual journey to Tripoli is certainly longer, as only the direct route (as the crow flies) between Ar Rayāyinah and Tripoli has been calculated here.
Air line (approximately)
123 kilometers
67 nautical miles