Which begs the question, how did Luke learn all that? He was never able to go to the academy.
I think the canon answer is that between Empire and Jedi, Luke retired to Ben's hut on Tatooine and was instructed in the necessary skills by Ben's space-ghost thingy. He got the parts from the Mos Eisley branch of Radio Shack.
I seem to recall reading somewhere that a Jedi is expected to assemble the entire thing through the use of the force rather than messing around with screwdrivers and what not. That sounds pretty cool but must be a b*tch if you've got a hangover.