How to completely remove Calibre under Linux?

I installed calibre manually under Debian Linux Squeeze. Compare to its functionality, the mime-type problem of calibre drives me crazy! It associates almost everything with itself! Almost everything failed if I try to open some file using xdg-open in a terminal. What a idiot design!


Solution 1:

You can try this:

sudo calibre-uninstall

It works for me.

Solution 2:

sudo python /usr/bin/calibre-uninstall
sudo rm -rf /opt/calibre

Solution 3:

Try

apt-get --purge remove <package>

package being the calibre package.