Optical fiber used for data transmission over long distances is usually made from ultra-pure SiO2 and carefully doped with germanium in the core to elevate index of refraction. Fiber amplifiers include Erbium doping which can be optically pumped for in-fiber optical gain.
But that's on Earth where radiation is low and thermal excursions are limited.
If on the Moon or on Mars, how well would standard fiber solutions work for say a 1000 kilometer, high Gbit/sec to 1 Tbit/sec link work? Could cable used for underground runs here work just rolled out on the surface there?
Issues related to physical degradation of the outer protective layers, and to the optical performance of the fiber itself should be addressed independently.
Assume a normal mix of in-line optical amplifiers and less frequent electrical repeaters.
Comments and answers to the question Long, low mass data transfer wire options only touch on optical fiber as an alternative for a relatively short 1 km run on the Moon, but for that, probably a free-space optical connection would be better than a fiber.