The calculated distance (air line) between Bogué and Ksar is approximately 153 miles respectively 246 kilometers.
By car or train, the actual journey to Ksar is certainly longer, as only the direct route (as the crow flies) between Bogué and Ksar has been calculated here.