how to do clean apache2 installation
You can use an external command called brew rmdeps or brew rmtree.

To install and use, issue the following commands:

$ brew tap beeftornado/rmtree &amp;&amp; brew install brew-rmtree
$ brew rmtree &lt;package&gt;


You can view the full discussion on this thread.