<p>The present invention discloses a method for installing pistons (22) in cylinder bores (33) formed in a cylinder block (12) of a compressor. The piston (22) on one end of the cylinder block (12) and a positioning jig (41) on the other end of the cylinder block (12) are arranged. The positioning jig (41) is inserted into the cylinder bore (33) such that part of the positioning jig (41) protrudes from the cylinder bores (33) toward the piston (22). The protruding part of the positioning jig (41) is engaged with the piston (22) to determine the position of the piston (22). The piston (22) is inserted into the cylinder bore (33) while maintaining the engagement between the jig (41) and the piston (22). The positioning jig (41) is removed from the cylinder bore (33). This facilitate automation of installation of pistons (22) in cylinder bores (33). <IMAGE></p>