check If apache is installed on Ubuntu machine

Suraj picture Suraj · Dec 14, 2015 · Viewed 34.5k times · Source

Just wanted to check If there's any way to check If APACHE is installed on my ubntu 14.04 machine.

I am trying to install LAMP on my ubuntu.

Answer

Manish R picture Manish R · Dec 14, 2015

You can use below commands to check if apache is installed or not

dpkg --get-selections | grep apache

or

apache2 -v