Pre-hung doors are installed by securing the entire door unit, including the frame, into the rough opening of the doorway. This process typically involves shimming the frame to ensure it's plumb and level, then fastening it to the surrounding wall studs with nails or screws. The steps include preparing the opening, positioning the door carefully, shimming to adjust the frame, fastening it securely, and finishing with trim and hardware adjustments for smooth operation.