The calculated distance (air line) between Cartagena and Linares is approximately 158 miles respectively 255 kilometers.
By car or train, the actual journey to Linares is certainly longer, as only the direct route (as the crow flies) between Cartagena and Linares has been calculated here.