If you get down to the root of the problem, condensation is caused from differences in temperature and/or lack of air circulation.
In a sealed pipe, obviously there is no air circulation.
Which is why I said to bury it below the frost line so the temperature is about the same all year round, but here, that is about 25 inches deep , plus add a buffer of 8-12 more inches just for safe measure so it doesn't fluctuate much (if any).
But that isn't really very practical.
The dessicant packs that Oli mentioned may work, but I'm unsure if I would trust that entirely. I guess it would depend on how long "long term" is, or if I could check on them periodically.
The food saver bags that you get in a roll and can seal the ends yourself so you can make the length you need will seal, but I tried it on an old unused stock just to satisfy my curiosity and the vacuum seal only lasted about 5 months. I think it was still really protected well especially if you would have covered the metal in bearing or axle grease or cosmoline, but like I said, after a while, was no longer air tight, which means it was no longer water tight either, but with some preventive measures like thick grease would probably work for a very long time.