Linear compressor comprising: a cylinder defining a compression space for a refrigerant; a piston axially reciprocating inside the cylinder; a motor configured to provide a driving force to the piston; a suction valve configured to suction the refrigerant into the compression space; a discharge valve configured to discharge the refrigerant compressed in the compression space; and a discharge cover having a discharge space (201, 202) therein in which the refrigerant discharged through the discharge valve flows, wherein a gas bearing is provided in the cylinder, and wherein the gas bearing comprises: a gas inlet hole through which a part of the refrigerant discharged through the discharge valve is introduced; a gas communication passage communicating with the gas inlet hole; and at least one gas outlet hole branched from the gas communication passage, characterized in that the suction valve, the discharge valve, and the discharge cover are all located inside the cylinder, wherein the cylinder is located inside the motor, wherein the gas inlet hole is formed on an inner circumferential surface of the cylinder corresponding to a portion between the discharge cover and the discharge valve, wherein the gas inlet hole is recessed radially outward from the inner circumferential surface of the cylinder, wherein the gas communication passage is recessed radially inward from an outer circumferential surface of the cylinder, and wherein the at least one gas outlet hole extends from the gas communication passage to the inner circumferential surface of the cylinder. a cylinder defining a compression space for a refrigerant; a piston axially reciprocating inside the cylinder; a motor configured to provide a driving force to the piston; a suction valve configured to suction the refrigerant into the compression space; a discharge valve configured to discharge the refrigerant compressed in the compression space; and a discharge cover having a discharge space (201, 202) therein in which the refrigerant discharged through the discharge valve flows, wherein a gas bearing is provided in the cylinder, and wherein the gas bearing comprises: a gas inlet hole through which a part of the refrigerant discharged through the discharge valve is introduced; a gas communication passage communicating with the gas inlet hole; and at least one gas outlet hole branched from the gas communication passage, characterized in that the suction valve, the discharge valve, and the discharge cover are all located inside the cylinder, wherein the cylinder is located inside the motor, wherein the gas inlet hole is formed on an inner circumferential surface of the cylinder corresponding to a portion between the discharge cover and the discharge valve, wherein the gas inlet hole is recessed radially outward from the inner circumferential surface of the cylinder, wherein the gas communication passage is recessed radially inward from an outer circumferential surface of the cylinder, and wherein the at least one gas outlet hole extends from the gas communication passage to the inner circumferential surface of the cylinder. a gas inlet hole through which a part of the refrigerant discharged through the discharge valve is introduced; a gas communication passage communicating with the gas inlet hole; and at least one gas outlet hole branched from the gas communication passage, characterized in that the suction valve, the discharge valve, and the discharge cover are all located inside the cylinder, wherein the cylinder is located inside the motor, wherein the gas inlet hole is formed on an inner circumferential surface of the cylinder corresponding to a portion between the discharge cover and the discharge valve, wherein the gas inlet hole is recessed radially outward from the inner circumferential surface of the cylinder, wherein the gas communication passage is recessed radially inward from an outer circumferential surface of the cylinder, and wherein the at least one gas outlet hole extends from the gas communication passage to the inner circumferential surface of the cylinder.