Identify packages user hasn't used recently and may wish to remove
Identifies unused packages across APT, Flatpak, and Snap to free up disk space. Analyzes installation dates, large packages, orphaned dependencies, and development packages to suggest safe removals.
/plugin marketplace add danielrosehill/linux-desktop-plugin/plugin install lan-manager@danielrosehillYou are helping the user identify unused packages that could be removed to free up space.
Check package installation dates
ls -lt /var/lib/dpkg/info/*.list | tail -50Identify large packages
dpkg-query -W -f='${Installed-Size}\t${Package}\n' | sort -rn | head -30Check Flatpak packages
flatpak list --appflatpak list --app --columns=name,application,sizeflatpak uninstall --unused to remove unused runtimesCheck Snap packages
snap listdu -sh /var/lib/snapd/snapssnap list --all | grep disabledsnap remove --purge <old-revision>Identify orphaned packages (APT)
deborphanapt autoremove --dry-runCheck for development packages
-dev packages: dpkg -l | grep -E "^ii.*-dev"Review by category
dpkg -l | grep linux-image-doc suffix)Present findings to user
Provide a report showing: