Go into the attic and drive a nail through the roof where you're installing the fan. Center the nail between two roof rafters.
Go up to the rooftop and locate the nail. Look for the raised shingles.
Draw a circle onto the roof that is centered over the nail and matches the inside edge of the fan.
Remove the shingles from the roof by cutting them along the circle with a utility knife and prying them off the roof with a pry bar.
Cut a hole in the roof inside the area you removed the shingles from with a reciprocating saw.
Remove the nails from the shingles located around the hole.
Spread roofing cement onto the shingles around the edge of the hole to help prevent leaks and secure the fan on the roof.
Place the fan into position on the roof so that the flashing slides under the shingles on the top half of the circle. The flashing is the flat metal part around the fan.
Place a thick bead of roofing cement between the shingles and the flashing, then screw the flashing to the roof with galvanized screws.
Cover the edge of the flashing and the top of the screws with caulk.
Nail the shingles around the fan to the roof where you removed them.