So I'm fairly new to Linux as my general desktop OS. I've removed and purged some programs that I tried and ended up not liking. I noticed there was a few files left over for some of these programs (psensor being one) in a few directories:
- /usr/share/doc
- /usr/share/doc-base
- /usr/share/locale/(two letters)/LC_MESSAGES
- /var/lib/dpkg/info
- /var/lib/app-info/icons/ubuntu-focal-universe
Is it safe to remove the files in all/any of these directories? My intution says yes for the documentation is /doc, but I am unsure about the rest.
Cheers!
Edit: /usr/share/snmp/mibs is another directory
apt remove
, orapt purge
? and if you usedremove
why notpurge
? Did youapt autoremove
to clean up? Did you check the files you mention aren't related to any other package? I note you have mentioned focal but it's best if you're clear & precise.dpkg -S /usr/share/snmp/mibs/LM-SENSORS-MIB.txt
on my system tells me that file was put there bylibsnmp-base
package. It won't explain every file, as some maybe created/setup/copied by a post-installation script (whichdpkg -S
won't have in it's database, eg. install install maybe put /usr/share/... that are copied later to the user's directory via post-install script, or on a user's [first] login if the file isn't detected at login)...