I do not need Samba and see it as a security risk. How can I uninstall it?

I do not see any need for Samba in my stand alone system. How can I remove it? sudo dnf remove samba, does not work.

I’m not aware that Samba is present? Are you referring to the ability to connect to smb:// network shares on the command-line and from Thunar file manager?

I believe ripping out smbclient and gvfs-smb will get rid of that.

1 Like

In my fedora-42-xfce updates I see samba being updated. Also my fedora cubes show the samba manual. As far as I know it’s not running, but apparently is present.

You might be able to get rid of Samba but in trying to get rid of Samba you likely will find that some important packages depend on Samba.
As long as you are not running Samba daemons and do not have Samba client frontends (such as Thunar) attempt to speak smb:// then there is no risk.

1 Like