very easy, just take out the old/broken rotor. check how many spacers there are (if any) on both ends of the old rotor. Add the same amount of spacers to the new rotor (or make sure the spacing are the same). then just carefully insert the new one into the motor can.
when you finished, make sure there is some small movements on the rotor (or no binding) or else the motor will get too hot.