"but it's necessary to learn from an Enlightened being directly"
Then how did Buddha himself learn it?
Then how did Buddha himself learn it?
With that foundation, I can answer your question a little more directly by telling you that he was able to realize Buddha's teaching through the world itself, after he opened his own eyes. (Buddha's teaching means how the world is operated, so everything is its evidence and can be found through any examples)
If you have any doubts please keep asking questions :) This can be dangerous territory if mistreated