Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

This question already has an answer here:

I'm working with Swish++ in Ubuntu 12.04. Due to my thesis I must install Swish++ from the source code. During the installation I faced with several problems, but finally I solved them and Swish++ package was successfully installed. Although I found a discrepancy with Swish++ names (I asked this question, but got no answers there). Anyway, despite this, everything went ok. I could use index and search with all the functions of index++ and search++.

But now I have another problem. I changed config files of Swish++ and need to recompile it. The first time I did it I used command make. How can I delete Swish++ and install it again? The command sudo apt-get remove --auto-remove swish++ says that package hasn't been istalled and can't be removed. How can I remove programms having been installed from the source code?

share|improve this question

marked as duplicate by dobey, Aditya, Avinash Raj, Maythux, Vojtech Trefny Mar 11 '14 at 11:07

This question was marked as an exact duplicate of an existing question.

I you still have the source directory where you built Swish++ for the first time you can uninstall it using the same Makefile with:

sudo make unistall
share|improve this answer
That also didn't work. There's no 'uninstall' command. – lidia Mar 11 '14 at 9:29

I also tried to install Swish++ from sources:

  • First I downloaded the latest version here: ~/Downloads/swish++-6.1.5
  • From this directory I can successfully run make uninstall

If that doesn’t work for you this it all the steps that the uninstall command performed:

cd /usr/local/bin && rm -fr index search extract
cd /usr/local/lib && rm -fr
rm -fr /etc/init.d/searchd \
        /etc/rc1.d/K99searchd \
        /etc/rc2.d/K99searchd \
        /etc/rc3.d/S99searchd \ 
        /etc/rc5.d/S99searchd \
cd /usr/local/man/man1 && rm -fr extract.1 httpindex.1 index.1 search.1 splitmail.1
cd /usr/local/man/man3 && rm -fr WWW.3
cd /usr/local/man/man4 && rm -fr swish++.conf.4 swish++.index.4
cd /usr/local/man/man8 && rm -fr searchd.8 searchmonitor.8 

run them individually with sudo to get root privileges.

share|improve this answer

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