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

I have removed and purged couchdb from Ubuntu, but if I type "couchdb" in the shell at any point, the system still tries to start it up before crashing. I checked /usr/bin, and I still have references to couchdb, even after I purged:

$ /usr/bin: ls couch*
couchdb  couchdb-dump  couchdb-load  couchdb-replicate  couchjs  couchpy
  1. What's the safest way to remove these references? Can I simply delete them, or will other artifacts be left behind?
  2. I also checked .bash_profile, .bashrc, .profile, /etc/profile - are there other spots I should look for artifacts?
share|improve this question
up vote 2 down vote accepted

To find the package name for a given file, use:

dpkg --search /usr/bin/couchdb

on my system this returns couchdb-bin, then you should do:

sudo apt-get --purge remove couchdb-bin

Repeat as many times as needed.

share|improve this answer

check the deb package in archive



you can open this with archive manager and check what all changes were made to system when this package was installed. (DEBIAN folder has this information) Other folders corresponf to your root ("/") file system

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.