I've noticed that Linux Mint comes with several file sharing packages pre-installed, such as Avahi, Samba, Openssh, and others. Since I rarely use network file sharing, I'm considering uninstalling these components to save space and reduce potential security risks. However, I worry about breaking things in case these packages are needed for other functions, even if they're not directly related to file sharing. Can I safely uninstall them, and if so, how? If not, what's the best way to prevent them from running?
2 Answers
You really don’t need to uninstall those packages if you’re not using them. Instead, you can simply disable their services if they're currently active. Just to clarify, you can't completely "uninstall" file sharing features in Windows, so it's not a perfect comparison. If you really want to remove them, you could do that too, but it’s usually not necessary unless you’re worried about them causing issues. If they're required for other functions, you’ll typically find out pretty quickly if there’s a problem.
You should be fine to uninstall everything on your list, except for Openssh if you're using Snap. Just keep an eye on the prompts during uninstallation to make sure you're not accidentally removing anything essential. In general, those packages shouldn't have dependencies that would cause issues, so it should all go smoothly.

Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures