Ubuntu How to List All PHP Packages?

grep is a very useful command to learn no matter which linux distribution you are using. For example I wanted to list all php 7.1 available packages. I can use grep command to filter out the output and show only relevant package names.

apt-cache pkgnames | grep php7.1

Posted

in

,

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *