The invention relates to the technical field of linear compressors, and discloses a square
linear compressor. The square
linear compressor comprises a compressor base, a square linear oscillation motor and a plurality of air cylinder
piston assemblies; the square linear oscillation motor comprises a
stator component and a rotor component, the
stator component is fixedly connected to the compressor base, and one end of the rotor component is inserted into an air gap formed by the
stator component; each air cylinder
piston assembly comprises a
piston and an air cylinder, the air cylinders are fixedly connected to the compressor base, and the
tail ends of the pistons are flexibly connected to the other end of the rotor component; the front ends of the pistons are installed in the air cylinders in a
reciprocating motion mode, a compression cavity is defined by the front end wall face of each piston and the corresponding air cylinder, and an air suction valve is installed on the front end wall face of each piston; and at least one piston is provided with an air suction hole, and a compression cavity of at least one air cylinder is provided with an
exhaust valve. According to the square
linear compressor, the multiple air cylinder piston assemblies are flexibly connected to the rotor component, circumferential positioning of the square rotor component is achieved, circumferential rotation of the rotor component of the square
linear motor can be prevented, and rotor jamming is avoided.