I tend to install a lot of stuff on my Ubuntu machines….so my machines also start getting cluttered with stale files, old versions and orphaned files. Here are two quick ways to help clean up your system.
Read it at arsgeek
First, you can use a built in apt-get feature called autoclean. Open a terminal session and type….
Another great tool is a package called Deborphan.