install apache2 debian code example Example: do I have apache installed on my debian server dpkg --get-selections | grep apache