How To Clean Up Junk Files In Ubuntu Using Ubuntu Cleaner

Ubuntu Cleaner

One common thing we forget to do is to clean up the junk files regularly. Sooner or later, we realize that our hard disk is running out of space. There are many ways to cleanup the junk files. We can manually delete the unnecessary files, old kernels. However, there are few useful applications available to ease this task. A while ago, we have covered how to delete old kernels effectively using purge-old-kernels utility. In this brief tutorial, we are going to learn how to clean up junk files in Ubuntu and its derivatives like Linux Mint, Elementary OS etc., using Ubuntu Cleaner.

Clean Up Junk Files In Ubuntu Using Ubuntu Cleaner

Ubuntu Cleaner is the fork of the ‘Computer Janitor’ module of long-defunct Ubuntu Tweak. As you might know already, Ubuntu Tweak is discontinued years ago and is no longer in development now. The developer of Ubuntu Cleaner has pulled out the Computer Janitor module from Ubuntu Tweak, refurbished it and released it with new name i.e Ubuntu Cleaner. It is completely free to use and released under GPLv3.

Ubuntu Cleaner will remove the following in Ubuntu and its derivatives:

  • App caches
  • Browser caches
  • Apt cache
  • Package config files
  • Unneeded packages
  • Thumbnail cache
  • Old kernels

Ubuntu Cleaner is currently works well with Ubuntu 14.04 LTS and Ubuntu 16.04 LTS.

To install Ubuntu Cleaner in Ubuntu 14.04 LTS and Ubuntu 16.04 LTS, add the following PPA:

sudo add-apt-repository ppa:gerardpuig/ppa

Update the repository list using command:

sudo apt-get update

Then, install Ubuntu Cleaner as shown below.

sudo apt-get install ubuntu-cleaner

For other Ubuntu versions, you might need to download the .deb file and install it manually.

sudo dpkg -i ubuntu-cleaner_1.0.0-1_all.deb
sudo apt install -f

Once installed, launch it either from Unity Dash or Menu.

The default interface of Ubuntu Cleaner will look like below.

Select the files you want to clean up and hit the Clean button on the lower right corner.

Ubuntu Cleaner will start to clean up the files you have selected.

Congratulations! Your Ubuntu system is free from junk files.

Now, your system became like a freshly installed one.

Not happy with Ubuntu Cleaner?, run the following commands to remove it (I think you won’t).

sudo apt-get remove ubuntu-cleaner
sudo apt-get autoremove

Is your hard drive running out of space? Just install Ubuntu Cleaner and purge-old-kernels utility and get rid of the junk files and older kernels which are no longer necessary. Both are must-have utilities in your Ubuntu system. While I testing it, I find Ubuntu Cleaner is a best user-friendly alternative to BleachBit. We will cover about Bleachbit app in a separate article soon.

If you liked this tutorial, share it on your social networks and support our site. We will be posting more useful guides, tips and tricks related to Linux, Unix, open source, technology in the days to come.



Thanks for stopping by!

How can I benefit from this blog:

Have a Good day!!

You may also like...

5 Responses

  1. ChiefH says:

    I still have Ubuntu Tweak on my 16.04LTS computer and other than the applications tab, all parts of it still work. Iuse the Janitor before each kernel update to make room for the update. I leave the last kernal for use if the newest kernel update does not work correctly or has problems.

    How is Ubuntu Cleaner improved from the Janitor?

    • SK says:

      Nothing improved as far as I tested it. The developer of ubuntu cleaner just picked up the Janitor module and released it under new name.

  2. Dick Pilz says:

    The program would launch and stop responding on my 6-month-old Lenovo IdeaPad w/8GB running 16.04 LTS, repeatedly. No error or warning messages from it.

    Glad you posted the removal commands.

  3. mrtoo says:

    I still use Ubuntu Tweak as well on the UM 16.04. Seems to work well. Bleachbit always seems to get me in trouble.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.