Purchase a fan specifically designed for pumping radon gas and is specifically designed to be mounted in an attic.
Decide on the exact location for mounting the fan. The PVC pipe from the basement must enter the fan housing at the bottom of the fan and the pipe exit the housing at the top and continue up through the roof. Choose a spot where you can securely mount the fan to a stud or other piece of the house frame.
Place rubber mounts between the fan housing and the portion of the frame to which the fan is being attached. The purpose of the rubber mounts is to reduce or completely eliminate any vibration or noise that the fan might cause. Secure the fan housing to the frame (with the rubber mounts between the fan housing and the frame) with the long screws or bolts, provided by the fan manufacturer.
Wrap all exposed PVC pipe with a thick layer of insulation. Use insulation tape or electrical tape to hold the insulation tightly around the PVC. The purpose of the insulation is to prevent condensation from forming as the cold air from the basement meets the hot air of the attic.
Follow all local ordinances as to the height of the exhaust pipe above the roof and keep it at least 10 feet from any window. Properly caulk and insulate all openings through which the PVC pipe travels.