Apache2 libs on a LEMP stack ? Part of standard UBUNTU or something ?

When I do : apt-cache pkgnames | grep apache on my LEMP stack, I get this a whole list of apache2 related ‘lib’ entries … just would like to know what they are doing on a pure LEMP stack …

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.


apt-cache pkgnames outputs a list of all the packages that are available in the APT repos that you have in your Droplet, including ones that are not installed on your Droplet.

If you want to get a list of all installed packages on your system, run dpkg --get-selections.