Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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. ibm.com/developerworks/library/l-lpic1-v3-102-5 –  jeffatrackaid May 30 '13 at 20:55

2 Answers 2

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 –  slimsuperhero 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

 
discard

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.