Yes, it should be enough to remove the meshcentral dir (/opt/meshcentral…)
If you like to install TacticalRMM I recommend following howto because it has everything preconfigured in a docker installation:
If you just want MeshCentral I recommend to use the module.