In Windows, there is an application called ccleaner which is used for deleting the unwanted files, but in Linux operating system there is no application like ccleaner. One of the major advantage of the Linux operating system is we have terminal , as it does many things for us.
There are couple of commands which is helpful for the Linux users to clean the unwanted files on their hard disk.
The following commands will purge the unneeded dependencies of an Linux operating system.
sudo apt-get clean
sudo apt-get autoremove