Is it safe to remove ntfs-config from my ubuntu 18.04?

I am running low on space so trying to free up some in my dual boot pc with ubuntu 18.04 and windows 10. Few months ago while troubleshooting i have installed several packages. Now i can not remember if ntfs-config is one of them or it has been here since the beginning.

  1. How do i know if i have installed it or it is installed while setting up the OS?
  2. Is it safe to remove ntfs-config?
  3. What packages can i remove safely from my ubuntu without causing any anomalies? I think i have to research individually for each package, but is there any better/easier way?

  1. Yes you may check using, for chronic order and installation time

    zgrep " installed " /var/log/dpkg.log*
    

    or precise package:

    zgrep "ntfs-config" /var/log/dpkg.log*
    

    You could also check if it was manually or automatically as dependency, using apt-mark showmanual (probably there are other tools). apt autoremove would be enough to uninstall all auto installed dependency packages after all their dependents are removed.

  2. Check list of dependents, but it up to your judgement:

    apt-cache rdepends ntfs-config
    
  3. This is broad. I would recommend going with a different approach as in our friends comments. Myself just using "Disk Analyzer" and only track very big sections of data, and usually I don't need detailed cleanup before next release.

    Partition depend on the use and focus on large app to get an estimation. Below command shows estimated package size (by package developer, as when it is newly installed, doesn't count related user data).

     dpkg-query --show --showformat='${Installed-Size}\t${Package}\n' | sort -rh | head -25 | awk '{print $1/1024, $2}'
    

If you are the explorer type, that only installing tools to check for short period. I used to have such problem before virtual machine was available and knowing chroot. Try minimizing footprint of new installations, see Installing packages without docs & https://askubuntu.com/a/515331/26246