5
I installed yesterday nginx on my machine using
brew install nginx
Today I would like to remove the software, therefore I tried
brew uninstall nginx
which has been correctely executed. In fact if I ask again to uninstall nginx I get
Error: No such keg: /usr/local/Cellar/nginx
The problem is that the files under
/usr/local/etc/nginx
has not been removed.
What is the correct way to remove them?
Thank you
Not sure if you found your solution, but I just went through the same issue yesterday. I deleted the directories like @slhck suggested. – pixel 67 – 2014-10-25T12:52:22.183
If
nginx
is installed with homebrew, than you also have to remove it from/usr/local/var/run/nginx/
and nothing bad will happen – pixel 67 – 2015-10-31T02:26:09.370I'm fairly certain you can just delete the directory
/usr/local/etc/nginx
and/usr/local/var/www
. – slhck – 2014-01-26T18:17:52.863thanks, my only concern is that /usr/local/etc/nginx seems to be under git version control :/ – mottalrd – 2014-01-27T06:39:29.410