Before you type a command you have to answer a question the tutorials skip: which Linux? There is no such product. There is a kernel, a large pile of GNU userland, and hundreds of organizations that assemble the parts with their own package format, release schedule and support promise. Two families of them host almost all of the world's PHP. This section ends with a decision you can defend: a distribution, a version, and the date its security updates stop.