How do you install samba for file sharing?

I had to install/upgrade mono for it to work with Radarr (from this post: [HOW-TO] Install Radarr v2 - #14 by OlKir)

Any idea on how to purge these packages?