I wonder to know if should I use ubucleaner script on Ubuntu Oneiric/Precise?
Short answer is: No, it's a bad idea.
Let's look at the code:
This script basically consists of 3 calls of a package management tool and it empties the trash folders of each user. Honestly what's the gain here? Freeing up some megabytes or gigabytes, that's all. If you're aiming for a performance gain you're mistaken. If your hard drive is the bottleneck of your current Ubuntu setup, I recommend buying a SSD. It's better to spend that money than spending valuable time trying to clean after something that always will get messy shortly after cleaning up.
I know CCleaner is very popular on Windows due to the habit of Windows users trying to clean up the system because they keep believing that this will increase/restore the system performance. This is partially true because some application developers do a pretty poor job at integrating their applications into Windows, best examples are vendor customized pre-installed versions of Windows and installer packages extracting themselves several times before installation and not cleaning up afterwards (I look at you LENOVO!).
Regarding privacy concerns Ubuntu started shipping an application in the default installation and I hope it will continue to improve that functionality, it looks promising.
However package management as in Ubuntu and most major Linux distributions solves most of the afore mentioned problems. Using the script for system administration is a bad idea. Instead you should be knowing what the script does and remember the commands to execute them individually when needed.
Cleaning APT cache
If I recall correctly, the graphical update manager already takes care of this, so use the update manager instead of
Removing old config files
Those files don't take up a lot of space and in some cases you would be happy to find an application already configured upon reinstall. If the opposite is the case you can always reconfigure the package via
Removing old kernels
Old kernels can take up 200 megabytes and more each. It has been discussed several times how to safely integrate this feature into the update manager. There are blueprints out there, but they don't seem to be implemented until know, mostly because it's difficult to decide which kernel to keep and which not. Deleting all but the newest is considered not to be a good idea.
In a proper setup this shouldn't be an issue, because home folders should be placed on another file system than the root file system. Then again you as a system administrator can't just go there and empty users trash folders. This is bad management style and may break the work flow of the users. This issue is usually solved via quotas. In turn when you empty users trash folders you should be cleaning up their
Personally, Im not sure, I haven’t use it since 10.04. This doesn’t answer your question directly, but have you looked at Ubuntu Tweak? It has the same capabilities as Ubucleaner and a lot more besides.
You can install it by running these commands in the Terminal (Ctrl+Alt+T):
Before installing this or other software from PPA's, please read this:
protected by Community♦ Apr 2 at 15:34
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site.
Would you like to answer one of these unanswered questions instead?