Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My host asked me to: " You will need to remove all instances of memcached that you have installed. "

How would i go about doing this?

I am on CentOS

share|improve this question
What are you doing? rpm -qa | grep memcached? find /usr/local/ -name memcached? – quanta Sep 25 '11 at 11:05
Xlima. I am not sure this question really belongs here as this is basic RPM management. There is no real issue here other than your lack of training regarding rpm management on Centos. I suggest review some basic server admin items. – jeffatrackaid May 30 '13 at 20:55

If you wish to remove all instances of memcached from your CentOS server use yum to accomplish this task:

Use yum list to check for memecached instances:

yum list | grep memcached

Use yum deplist to check the list of dependances of this package before removing:

yum deplist memcached

Use yum remove to remove the package:

yum remove memcached
share|improve this answer
The first comman you mentioned shows you not only installed instances but also available packets. And you can do it without grep: yum list installed memcached – Gevial Mar 28 '13 at 11:44

You could to use the following commands

rpm -qa | grep memcached

rpm -e namerpm
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.