← Back to team overview

enterprise-support team mailing list archive

Re: [Question #235409]: remove samba4 and associated files

 

Question #235409 on samba4 in Ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/samba4/+question/235409

MindyMoreno proposed the following answer:
To remove Samba4 and associated files on a Linux system, follow these
steps:

Uninstall Samba4: <a href="http://xivlauncher.com/";>xivlauncher</a>  Use
the package manager to remove Samba4:

Copy code
sudo apt-get remove --purge samba4
Remove Configuration Files: Delete any remaining configuration file.
Copy code
sudo rm -rf /etc/samba/
Remove Dependencies: Clean up unnecessary dependencies:

sh
Copy code
sudo apt-get autoremove
Clear Cache: Optionally, clear the package cache:

sh
Copy code
sudo apt-get clean
Verify Removal: Check that all Samba-related files are removed:

sh
Copy code
dpkg -l | grep samba
Restart Services: Restart relevant services to ensure changes take effect:

sh
Copy code
sudo systemctl restart networking

-- 
You received this question notification because your team Ubuntu
Server/Client Support Team is an answer contact for samba4 in Ubuntu.