utility clear for mint

Contribute code & patches
Forum rules
No support questions here please

utility clear for mint

Postby Marioh on Tue May 06, 2008 11:04 pm

hi my name is MarioH.

and sorry for my english.

I have developed a small script with which I would like to collaborate


The original post is viewtopic.php?f=68&t=12235



Forgive if this post does not correspond



Thxs for you consideration
No hagas caso de mi, que solo soy un novato...
Marioh
Level 1
Level 1
 
Posts: 8
Joined: Mon Apr 28, 2008 9:46 am

Linux Mint is funded by ads and donations.
 

Re: utility clear for mint

Postby xvedejas on Wed May 07, 2008 12:02 am

My attempt to translate;

Hello, let me present myself, I am Mario H and although I have not been in the community of Linux Mint's for a long time, I would like to start to collaborate with small script that I have already been developing for a couple of weeks, which I have based on the script of ubuclean.

What is the use of this script?

To give mint a good cleaning.

Installing Linux Mint for my first time, I could see that the installation was not absolutely clean, leaving behind remainders of, for example, Rhythmbox since mint comes with amarok (gnome), evolution because of Thunderbird, and this among other things like languages packs, old kernels, orphaned libraries, and more.

We must also consider that each time that we install and later uninstall something else, we are left with the dependencies or libraries required by that program, we are not eliminating them entirely. and they are occupying space on our disc.

It is necessary to consider, cleaning or not, it does not affect our dear Linux at all. since these already are not being used, nevertheless they take up precious space on our Hard disk

Okay, what this script does is to take advantage of aptitude to clean everything that we no longer use, and deborphan is in charge to eliminate all the orphaned libraries that are no longer used.

The process is this:

It verifies if we have installed deborphan, if we don't it installs it.
It removes dependencies and libraries that are no longer used (By aptitude)
It cleans Cache of apt (the unloaded packages that it stores in the folder temp)
It removes old old configuration files
It removes Kernels
It eliminates orphaned libraries and Archives (it only uses deborphan for this step) (the script gives the option to skip this step)
It emptys the recycling bins (ROOT and users)

Altogether during my tests. in clean installations:
It freed about 647mb in its first go
in Ubuntu about 308mb

This was proven during 3 weeks and some more, in different places and by different people. Fortunately, without finding problems.

I left the file at the end of this post.

In order to use it they only must give permission to execute the file once extracted, and in a terminal typing /limpiar.sh is recommended once.

Use Responsibly.

NOTE: for those who do not like to use deborphan, the script allows them to omit that step.

PS: You are welcome to add any data and to share it with anyone. GNU/GLP
This is my contribution to them.
Image
xvedejas
Level 3
Level 3
 
Posts: 143
Joined: Mon Apr 07, 2008 6:48 pm

Re: utility clear for mint

Postby Kynan on Sat May 10, 2008 10:02 am

WOW sounds great, nice idea to work all the disk space saving utilities in one easy convenient app.

xvedejas wrote:Altogether during my tests. in clean installations:
... in Ubuntu about 308mb

Just wondering though.. how well has this been tested for bugs, freeing up 308mb for a clean ubuntu installation thats freaking huge! thats almost half the cd! there has to be some reason why ubuntu wouldn't already do this isn't there?
Normal people believe that if it ain't broke, don't fix it.
Engineers believe that if it ain't broke, it doesn't have enough features yet.
Image
User avatar
Kynan
Level 4
Level 4
 
Posts: 246
Joined: Thu Oct 04, 2007 7:39 pm

Re: utility clear for mint

Postby Fred on Sun May 11, 2008 12:55 am

Marioh,

Thank you for posting this. I will download and look at it.

Thanks again.

Fred
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.
User avatar
Fred
Level 10
Level 10
 
Posts: 3356
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

Re: utility clear for mint

Postby Zwopper on Sun May 11, 2008 3:33 am

...and thank you xvedejas for the translation. :)
Image
My artwork at deviantART | My Tweet
CREA DIEM!
Lenovo E320 | 8GB | 512GB Samsung 840 PRO - SSD | Ubuntu 14.04
User avatar
Zwopper
Level 10
Level 10
 
Posts: 3101
Joined: Fri Nov 30, 2007 12:20 pm
Location: Deep in the Swedish woods

Re: utility clear for mint

Postby xvedejas on Sun May 11, 2008 12:18 pm

Zwopper wrote:...and thank you xvedejas for the translation. :)



Sure! The only problem is I can't really translate the other way around :|
Image
xvedejas
Level 3
Level 3
 
Posts: 143
Joined: Mon Apr 07, 2008 6:48 pm

Re: utility clear for mint - Translated

Postby Acid_1 on Sat May 02, 2009 4:35 pm

Umm. If there was an English translation of it I was blind and wasted 10 minutes... If not, here:

Download:
limpiar-english.sh.zip
MD5: 87ca2d5d9ca36fd9d8c639b005512642
(1006 Bytes) Downloaded 143 times


PS -- I tried this script under Ubuntu 9.04 with an Ext4FS. Don't do it -- you'll crash your PC solid. Ext4 has a bug with the kernel Ubuntu uses. When the next version comes out it should be fine.
Website: Forkwhilefork
User avatar
Acid_1
Level 5
Level 5
 
Posts: 817
Joined: Thu Nov 01, 2007 11:12 pm
Location: Saskatchewan, Canada

Linux Mint is funded by ads and donations.
 

Return to Code & Patches

Who is online

Users browsing this forum: No registered users and 2 guests