PDA

View Full Version : Commands to clean the system???



pjalegria
10th August 2008, 03:08 PM
At Ubuntu we have comamnds like "apt-get autoclean" and "apt-get autoremove" that we can use to clean the system from unnecessary files, like unnecessery dependacies and downloaded packages...

Is there any commands to do the same thing??

bob
10th August 2008, 03:15 PM
'yum clean all' might be what you have in mind. Check 'man yum' for details.

A.Serbinski
11th August 2008, 06:05 AM
yum clean all will be most similar to apt-get clean.
There is no equivalent to apt-get autoremove that I am aware of. From the descriptions I've seen, I believe that it assesses all library packages to determine if there are any for which there is no other package which depends on it, and deletes it if that is the case. Sounds a little dangerous.