PkgClip - Cached Packages Trimmer Utility

PkgClip is a little helper for Arch Linux users, that will scan your pacman cache directories and help you trim it a bit.

Whenever pacman downloads packages, it saves them in a cache directory, and never removes them. Over time, this cache can grow a lot.

While pacman does offer options to clean your cache, they are very basic. Its option --clean (-c) will remove packages that are no longer installed from the cache (as well as currently unused sync databases. Note that PkgClip does not touch databases, only packages.), or remove all packages if you specify it twice.

PkgClip aims at giving you a little more options. To do so, it will classify all packages into different "groups" (also called "reasons", as in reason for the recommended action), each group having a recommendation (Keep or Remove), used as default choice.

You will of course be able to then review it all, and decides which packages shall be removed, and which shall not.

Want to know more?

Some useful links if you're looking for more info:

Plus, PkgClip comes with a man page.

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.