If you just want to be able to ride a century, you don't really need anything, just ride lots.
It's a little more than that. I could likely ride a century right now and have been adding more miles per week since winter ended. Over long distances I am pretty slow or burn myself out to quickly. Ultimately, I want to be a better rider and be one of the early finishers for the century rides