sudo apt-get remove apache2-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
apache2-utils libapr0 apache2-common apache2 apache2-mpm-worker
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
apache2 apache2-common apache2-mpm-worker
0 upgraded, 0 newly installed, 3 to remove and 5 not upgraded.
Need to get 0B of archives.
After unpacking 3727kB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 63689 files and directories currently installed.)
Removing apache2 ...
Removing apache2-mpm-worker ...
Removing apache2-common ...