To remove booster tap downward on the tab that's at the 9:00 position with a hammer and long screwdriver/prybar rotating the booster counter clockwise. You will have to remove a cylinder like component & bracket and the cross member (bar) that's above the booster to allow room for removal. Since these items need to be removed for the booster to come out it would be a good idea to remove them first so you have more room to work when removing the master cylinder. There is no need to open the brake lines, the brake lines are flexible. Just remove the two nuts and move the MC forward being careful not to spill the fluid. Don't forget to remove the clip securing the booster rod to the brake pedal under the dash board.
To install, put booster in place and rotate clockwise by gently tapping on slots that are located around the perimeter of the booster. And reinstall all components previously removed.