# LaTeX Error: File lastpage.sty' not found [duplicate]

I'm using a LaTeX template for a research article

I've converted the .tex file to a minimal example:

\documentclass[fleqn,10pt]{SelfArx}

\begin{document}

\subsection*{Results}

\end{document}
`

When I compile the LaTeX code above, I get these errors:

How can I resolve this problem?