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

I am running Ubuntu Server 10.04 LTS and I have installed and configured Samba 3.4.7 from the repository.

What is the correct way to completely and cleanly uninstall this version so that I can install Samba 3.0.28 which I have compiled from source?

share|improve this question
Is there a particular reason you're downgrading to 3.0.28 ? That version no longer receives security fixes from upstream. – jelmer Apr 8 '12 at 22:16
@jelmer I want to implement real-time virus scanning using samba-vscan 0.3.6b but it is not supported on versions later than Samba 3.0.28. – Nilpo Apr 8 '12 at 22:43
As a side note, samba-vscan 0.3.6c-beta5 is available for later versions of Samba, but I have not been able to get it to compile successfully with Samba 3.4.7. – Nilpo Apr 9 '12 at 18:00
up vote 2 down vote accepted

You should be able to simply uninstall Samba from the software center, or from the command-line by running:

apt-get remove samba-common samba
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.