Delete Unnecessary Files From Your Desktop With BleachBit On Ubuntu 9.04

Want to support HowtoForge? Become a subscriber!
 
Submitted by falko (Contact Author) (Forums) on Fri, 2009-05-29 15:30. :: Ubuntu | Desktop

Delete Unnecessary Files From Your Desktop With BleachBit On Ubuntu 9.04

Version 1.0
Author: Falko Timme <ft [at] falkotimme [dot] com>
Last edited 05/14/2009

This guide shows how you can install and use BleachBit on an Ubuntu 9.04 desktop to delete unnecessary files. BleachBit deletes unnecessary files (such as cache, cookies, Internet history, localizations, logs, temporary files, and broken shortcuts) to free valuable disk space, maintain privacy, and remove junk. It wipes clean Adobe Reader, APT, Bash, Beagle, Chromium, Epiphany, Firefox, Flash, GIMP, Google Earth, Java, KDE, OpenOffice.org, Opera, RealPlayer, Second Life viewer, Skype, VIM, XChat, Yum, and more.

I do not issue any guarantee that this will work for you!

 

1 Installing BleachBit

Bleachbit is available as a package in the Ubuntu 9.04 repositories, therefore we can install it with the Synaptic Package Manager. Open Synaptic (System > Administration > Synaptic Package Manager):

Type in your password:

In Synaptic, you can use the Quick search function and search for bleachbit. Then click on the checkbox left of the package and select Mark for Installation to select it:

If additional packagess have to be installed to satisfy bleachbit's dependencies, a window will pop up. Click on Mark to install the dependencies as well:

Then click on Apply to start the installation:

Click on Apply again to confirm your selection:

Afterwards the packages are being downloaded and installed:

Click on Close afterwards and leave the Synaptic Package Manager:

 

2 Using BleachBit

In order to launch Bleachbit, go to Applications > System Tools > BleachBit:

If you start BleachBit for the first time, a Preferences window will pop up where you can change BleachBit's configuration:

In BleachBit, you can now select what items you want to delete (e.g. the Firefox cache). In the main window you will see a summary of what exactly will be deleted. Once you've made your choices, click on the Delete button:

Confirm your choices by clicking on Delete again:

Afterwards, BleachBit deletes the selected items. In the main window you will see which files get deleted, and how big they are:

 

3 Links


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.
Submitted by AllanScott (not registered) on Fri, 2009-09-11 04:50.

THANK YOU THANK YOU THANK YOU

This is the first tutorial for any flavor of Linux I have seen that doesn't throw the terminal/cli out at first chance.

If we are going to convert MS dogs to Linux, we are going to have to show them that, while we keep the terminal for occasional use, you are NOT stuck having to use something that reminds Windows 3.0 users of years past what hell was like(read as: using dos).

Kudos to you for showing we have choice.

Submitted by 1fastbulllet (not registered) on Sat, 2009-06-27 05:00.

Is there a stable version that I could use with 8.04 Hardy?

If so, where would I find it and how do you recommend I install it?

 

Thanks.

Submitted by clodoaldo (not registered) on Mon, 2009-06-15 17:00.

bom trabalho... good job!

obrigado... thank you!

eu estava procurando isto... i want need this

tchau-chau... bye-bye

clodoaldo

Submitted by Andrew Ziem (not registered) on Mon, 2009-06-01 20:55.

Thank you for writing this guide.  While the instructions are good for the latest version (the BleachBit interface hasn't changed in a while), Ubuntu 9.04's repository has an old verison of BleachBit (version 0.3.1 compared to 0.5.0).   The BleachBit website has a newer package ready to use for Ubuntu 9.04.

Submitted by Angeleum (not registered) on Tue, 2009-06-02 10:24.

The BleachBit site admonishes that 0.5.0 is: "an unstable release intended only for testing."  While a many apps are quite usable at this stage, many are not.  Therefore, Falko rightly pointed to the stable version in the Ubuntu repository for most people. 

 A fast reading of their release notes shows that most features refer to improvements under various versions of Windows, not Ubuntu (see http://bleachbit.blogspot.com/2009/05/bleachbit-050-released.html) So I personally see little value to running 0.5.0 under Ubuntu.  Of course, I could be wrong on this last point.  Do you see something I don't?  Aside from the command-line invocation feature which is not complete as yet, that is.

OTOH, 0.4.0 introduced several worthwhile new features, and 0.4.2 is the last stable, maintenance version before 0.5.0.  That may be a better choice if someone wants to link to a version outside the repos. 

Submitted by Andrew Ziem (not registered) on Thu, 2009-06-04 03:46.

A week ago, I would have more likely recommended 0.4.2, but 0.5.0 had few changes for Linux (so less likely to have a regression) and there have been no bug reports.  At this point I declare 0.5.0 is stable for Linux and unstable for Windows.  For Ubuntu as of today, I recommend BleachBit versions 0.5.0 or 0.5.1 (due out soon).

I asked the packager to request a backport of 0.4.2 to the Ubuntu 9.04 repos.  We'll see what happens.

In any case, nice howto!  Step-by-step with screenshots is helpful.

Submitted by dean (not registered) on Wed, 2009-06-03 20:49.

thats the problem with ubuntu.  you start off with repo`s and then end up installing debs from elsewhere for lack of any updates in the repos.

Submitted by slashdevnull (registered user) on Wed, 2009-07-08 02:12.

"thats the problem with ubuntu.  you start off with repo`s and then end up installing debs from elsewhere for lack of any updates in the repos."

As opposed to...?  Windows?  OS X?  Neither of those OS's provide application-level package management that's anywhere near what the deb/apt system provides.  You need to count on each app to have its own upgrader.

Many (but unfortunately not all) third-party .deb files are available from the authors' repos, which can be easily added to the /etc/apt/sources.list (or sources.list.d/).  So, you're not locked in to just using the stock Ubuntu repos.

But, even without a repo, you can still install a .deb package and know that apt-get and friends (aptitude, etc.) will still know exactly what you installed on your machine, and how to cleanly remove or upgrade it when the time comes.

It's also easy to roll your own .debs from source tarballs.  Just "sudo apt-get install  checkinstall" and replace the "make install" step from a from-source install with just "checkinstall".  This process is easier than making an installer for Windows or OS X (both of which I've had to do in the past).

Submitted by Zeke Krahlin (not registered) on Tue, 2009-07-14 20:27.

Ubuntu was specifically designed with newbies in mind. They are advised to stick with the package manager, and not install applications independent of that. The main reason being, they may not be trusted sites, and you open yourself up to damage. You are treating Ubuntu as an experienced Linux user; you may as well be talking about Debian. In short, this is a mixed message to new users...not good. I use Ubuntu, and am still waiting for Synaptic to provide the newer version of Firefox! I find this lack of keeping the package manager updated, most disappointing. This is not a matter of my not knowing how to download and install applications outside of Synaptic...but a matter of putting new users in a compromised situation, which is not the best way to turn them on to Linux. For that, there is no excuse.