Until flatpak | snaps become the de-facto standard, we’ll have to cleanup our system from time to time (I’m not talking about apt-clean
!)
anyway, linux is not windows, so figuring out which packages haven’t been used in a long time can be automated without a lot of effort. specifically, with apt and yum you can fetch the timetsamp of all installed binaries and figure out their corresponding packages.
But why work so hard when you’ve got an open source project who does all that?
“UnusedPkg is a diagnostic tool to find the unused packages in Linux systems, sorted by their idle time. This helps to find unused packages which could be manually removed to free some space in the filesystem. It supports any apt-based distribution (tested on Debian and Ubuntu), Slackware and blackPanther OS’s” - Emilio Pinna
Installation
- clone UnusedPkgs repository
- run
./unusedpkg
- get a nice diagnosis on all installed packages