Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 installed ntop (with all its dependencies) like this:

sudo apt-get install ntop

After that I decided to remove it by issuing the following commands:

sudo apt-get remove ntop
sudo apt-get autoremove
sudo apt-get autoclean
sudo rm -rf /etc/ntop && sudo rm -rf /etc/init.d/ntop

After that I decided to install it again by issuing:

sudo apt-get install ntop

And the /etc/init.d/ntop file did not get created this time! Also, the /etc/ntop/ directory is empty. I also noticed that during the second install the installer did not ask me for username/password, or an interface list to monitor.

Is there some indication on the system that this package has been installed before and how do I clean my system of all mention of this package (so that it can be completely reinstalled)?

share|improve this question
up vote 1 down vote accepted

If you're certain it's been purged, try this (note the 'y' switch):

sudo apt-get install ntop -y

Then set it up with:

sudo ntop --set-admin-password
sudo ntop -u ntop -d
share|improve this answer
sudo apt-get --purge remove ntop && sudo apt-get autoremove along with the suggested ones by you did the trick. Also, it reinstalled the /etc/init.d/ntop script ^^. – Shade May 8 '11 at 11:33

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.