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