St. Linus was the second pope (source). We don’t know how he was made pope, as the process in that time was lost to history. All that is important to know is that he had it, which we know because early Church writers recorded lists of popes in order to trace the papal succession back to St. Peter himself.
DISCLAIMER: Catholic Answers has turned over the archive to Catholic-Questions.org and no longer owns, manages, or moderates the forums. For additional apologetics resources please visit www.catholic.com.