To uninstall samba just follow these instructions.
sudo apt-get remove samba
This will remove just the samba package itself.
sudo apt-get remove --auto-remove samba
This will remove the samba package and any other dependant packages which are no longer needed.
If you also want to delete your local/config files for samba then this will work.
sudo apt-get purge samba
Or similarly, like this samba
sudo apt-get purge --auto-remove samba
|Maintainer||Debian Samba Maintainers <[email protected]>|
|Description||SMB/CIFS file, print, and login server for Unix providing support for cross-platform file and printer sharing with Microsoft Windows, OS X, and other Unix systems. Samba can also function as an NT4-style domain controller, and can integrate with both NT4 domains and Active Directory realms as a member server.|