The simplest usage of cruft-remover is:
cruft-remover [OPTIONS] ACTION
The possible options are:
- --all: Remove all pieces of cruft.
- --no-act: Do not actually remove anything. This is the best way to check your system for cruft without making any changes.
- --verbose: Print out descriptions of each piece of cruft found.
- find: This searches for cruft and prints a list of each piece.
- cleanup: This actually removes the cruft found.
- ignore: Mark cruft as "ignored" or "removable".
Let's say you want to first check your system for cruft but you do not want to take any action on any cruft found. To do this you could enter the command:
cruft-remover --no-act find
This would spit out something like this:
So let's say I want to remove the deb:opera cruft. To do this I would issue the command:
cruft-remover cleanup deb:opera
With the command cruft-remover will delete the cruft.
To remove all cruft you would issue the command:
cruft-remover cleanup --all