Basically the apt-get remove command removes only the package file keeping the config files intact. On the other hand, the apt-get purge command deletes the package along with config files.