Note: You should probably just install yay and run yay -Yc instead.
Tired of running pacman -R $(pacman -Qdtq) ten times to remove all your unused packages installed just as dependencies?
Want a pacman -Qdt that can detect dependency cycles that are not needed?
Then pacclean is for you!
Requires libalpm, Boost.Program_options and a C++ compiler supporting C++17.
Probably only works on Arch Linux, so just install the dependencies with:
pacman -Syu boost g++ makeJust run make and the pacclean binary should appear.
- Figure out what to do, when a package depends one another package, that more than one installed package provide. Currently we just treat all of those packages as dependencies.