A single-frequency linearly polarization pulsed fiber laser based on an electro-optic modulator with injection seeding technique is demonstrated. The single-frequency performance of the fiber ring-cavity laser is guaranteed by the seed source, which is a distributed-feedback fiber laser based on the π-phase-shifted fiber Bragg grating. The electro-optic modulator triggers active Q-switching of the laser for pulse generation. The devices used in the fiber laser are all polarization-maintaining to ensure linear polarization laser output. Through parameter optimization, the laser generates a single-frequency linearly polarization pulsed laser with a central wavelength of 1064.22 nm, linewidth of 35 MHz, and polarization extinction ratio of better than 40 dB. This type of fiber laser can be applied in lidar, beam combining, nonlinear frequency conversion, and other fields.