Changing the cyl itself is no big deal. Just unbolt and put the new one on.
As to the lines, you would be advised to get a "line wrench" of the appropriate sizes as they will not round-off the nuts like a normal wrench CAN. There are also some "bleeder kits" for the master cyl you can find, too. Some plastic nuts, plastic lines, and a holder that holds onto the edge of the master cyl reservoir section.
Bleed the cyl on the car that way. After that, then I hook up the lines. THEN, to get any air out (from experience, just a tiny bit at the connection, which might have crept in, I gently push the brake pedal down to check things. If good, then I'll quickly cycle the pedal, short and FAST strokes, to simulate what happens when you use a scan tool to bleed a modern master cyl. Those quick pressure spikes will compress any air bubbles and when that pressure is quickly released, they should migrate upward as they temporarily expand, not unlike when they use a system vacuum to pull on the brake system on the assy line before the brake fluid is put in. Then, after a few days driving, I'll re-check the brake fluid level. PLUS driving carefully and being attentive to any brake pull feels, too!
Perhaps I've been lucky this way, but I've done it on several different cars and it has always worked the same. If all of the air which might get into the system (after bleeding the master cyl on the car, with the kit), the only air should be a the line connection, which should not migrate to the wheels. So the pressure spike/release theory should work well.
I learned of the way brake fluid is installed at the assy plant while on a tour of the Arlington, TX GM assy plant. They draw a vacuum on the cooling system, when the vac indicates no leaks, then the measured amount of coolant goes in. Plain and simple. Same with the brake system, hydraulic power steering, and a/c. Then, on the "Final Check" chassis dyno section, they take the car to 60mph and apply the brakes. Being a 4-wheel contraption, it checks all four wheels for brake balance, engine power, transmission shifting, and wheel alignment at the same time. Takes about 2 minutes or less.
Just my experiences, proceed at your own desires/risks.
CBODY67