How to find and remove unused packages in Linux

find and remove unused packages in Linux