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.
Check list of dependents, but it up to your judgement:
apt-cache rdepends ntfs-config
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
Disk Usage Analyzer
to determine where your space went. Don't try uninstalling various apps to regain space, thereby butchering your working system. – heynnema May 31 '21 at 13:59