how to do clean apache2 installation I have messed out a lot of things with currently installed apache. It doesn't work at all. So, I want to delete apache completely and re-install everything. I want to do completely clean installation. How would I do it? 

OSX version: Yosemite 

Package Manager: Homebrew
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.