A package-type compressor comprising: a body unit having a compressor body compressing a gas and a motor driving the compressor body; a casing accommodating the body unit at a lower portion thereof; a first cooling air inlet formed in one side surface of the casing; a second cooling air inlet formed in another side surface of the casing; a cooling air outlet formed in an upper surface of the casing; a fan duct provided at an upper portion of the casing and having a suction port at a lower surface and a delivery port at an upper surface; a cooling fan accommodated in the fan duct and arranged such that a rotation shaft extends in a vertical direction, the cooling fan inducing a flow of cooling air taken in through the first and second cooling air inlets (8A, 8B) and discharged through the cooling air outlet; an air cooling type heat exchanger arranged above the delivery port of the fan duct and below the cooling air outlet; and a machine chamber provided below the fan duct and accomodating the body unit, the machine chamber causing the cooling air taken in at the first cooling air inlet to flow along the body unit toward the suction port of the fan duct; the package-type compressor characterized by a controller controlling the motor; the casing accommodating the controller at a lower portion thereof; and a cooling duct provided below the fan duct, the cooling duct causing the cooling air taken in at the second cooling air inlet to flow along the controller toward the suction port of the fan duct, wherein a center position of the suction port of the fan duct is offset away from the first cooling air inlet and toward the second cooling air inlet with respect to a center position of the drive shaft of the motor. a body unit having a compressor body compressing a gas and a motor driving the compressor body; a casing accommodating the body unit at a lower portion thereof; a first cooling air inlet formed in one side surface of the casing; a second cooling air inlet formed in another side surface of the casing; a cooling air outlet formed in an upper surface of the casing; a fan duct provided at an upper portion of the casing and having a suction port at a lower surface and a delivery port at an upper surface; a cooling fan accommodated in the fan duct and arranged such that a rotation shaft extends in a vertical direction, the cooling fan inducing a flow of cooling air taken in through the first and second cooling air inlets (8A, 8B) and discharged through the cooling air outlet; an air cooling type heat exchanger arranged above the delivery port of the fan duct and below the cooling air outlet; and a machine chamber provided below the fan duct and accomodating the body unit, the machine chamber causing the cooling air taken in at the first cooling air inlet to flow along the body unit toward the suction port of the fan duct; the package-type compressor characterized by a controller controlling the motor; the casing accommodating the controller at a lower portion thereof; and a cooling duct provided below the fan duct, the cooling duct causing the cooling air taken in at the second cooling air inlet to flow along the controller toward the suction port of the fan duct, wherein a center position of the suction port of the fan duct is offset away from the first cooling air inlet and toward the second cooling air inlet with respect to a center position of the drive shaft of the motor.