Removing memcached and / or (forced) installation using Homebrew - Mac OS X

I need memcached on my Mac (os X 10.8), and I started by installing memcached and libevent manually (1). Well, maybe I did it too quickly, and now I understand that it would be better to install it β€œcleanly” with Homebrew.

I think I should first remove the "cleanly" libevent and memcached. Do I need to? Or I just run brew install memcached and use the function to delete files. Does Homebrew think it needs to be removed? (I mean brew link -f memcached after brew install memcached , I wonder how it will be "clean", and if I do not encounter difficulties that are difficult to solve later ...)

Thank you for your help!


(1) how I installed libevent:

 cd /tmp wget http://www.monkey.org/~provos/libevent-1.4.13-stable.tar.gz tar zxvf libevent-1.4.13-stable.tar.gz ./configure make sudo make install 

and memcached:

 wget http://memcached.googlecode.com/files/memcached-1.4.1.tar.gz tar xzvf memcached-1.4.1.tar.gz cd memcached-1.4.1 ./configure make make test sudo make install memcached -d -P pidfile -l 127.0.0.1 
+2
homebrew memcached
source share
1 answer

Both ships Memcached and libevent with the target command Makefile uninstall . Assuming you still have your previously configured source files; otherwise you need to run ./configure before running any make commands.

 cd memcached-1.4.1 sudo make uninstall cd ../libevent-1.4.1-stable sudo make uninstall 

After that, you should be able to install everything using Homebrew.

+5
source share

All Articles