PDA

View Full Version : cleaning up uninstalled apps


rafaelsemx
09-12-2008, 01:11 PM
Hi!

Is there anyway to cleanup the leftovers from uninstalled apps?:confused:

After removing fennec I found that I didn't recover all the memory that was used for the install, and after trying some apps and uninstalling the ones I don't use, I'm runnig a bit low of memory and want to recover some free space.

Thanks

MOC
09-13-2008, 04:07 AM
hmm. I'm not at all sure about this, but I tried to run the canola cleanup. Apart from removing canola, it seemed to eliminate other bits and pieces around.

But don't take my word for it, I'm soo not sure about this!

More knowledge pending.

GeneralAntilles
09-13-2008, 04:33 AM
Did you uninstall xulrunner as well? . . .

Un27Pee
09-13-2008, 06:50 AM
Did you uninstall xulrunner as well? . . .

Thought xulrunner is required by other applictions, always taught what was its use, since i do not use canola can i uninstall it?

iamthewalrus
09-13-2008, 06:58 AM
If you install applications with 'apt-get' instead of the application manager you should clean up the cached packages every once in a while:

- install rootsh if you haven't already done that
- type in xterm:


sudo gainroot
apt-get clean

Fionn
09-13-2008, 09:19 AM
sudo gainroot
apt-get clean


What does "apt-get clean" actually do?

GeneralAntilles
09-13-2008, 09:25 AM
Thought xulrunner is required by other applictions, always taught what was its use, since i do not use canola can i uninstall it?

No, nothing but fennec uses XULRunner.

mikkov
09-13-2008, 11:01 AM
What does "apt-get clean" actually do?

deletes .debs from /var/cache/apt/archives

qwerty12
09-13-2008, 11:04 AM
Hi!

Is there anyway to cleanup the leftovers from uninstalled apps?:confused:

After removing fennec I found that I didn't recover all the memory that was used for the install, and after trying some apps and uninstalling the ones I don't use, I'm runnig a bit low of memory and want to recover some free space.

Thanks

Use apt-get remove --purge instead of apt-get remove.

(--purge gets rid of files that are defined as a conffile in the deb file of the program that you are installing, usually files that go in /etc)

What does "apt-get clean" actually do?

Clean out downloaded deb files that are automatically cached when you use apt-get install whatever in /var/lib/apt/archive and on your memory cards.

Un27Pee
09-13-2008, 02:33 PM
No, nothing but fennec uses XULRunner.

I found that xulrunner was not installed probably was removed along with Canola since i dont use fennec save some space there thanks for making it clear to me

rafaelsemx
09-13-2008, 02:54 PM
yes, I deleted Xulrunner, and recovered most of the space, but you don't always recover all the space when uninstalling apps, back when on OS2007 I removed canola and didn't remove the cover albums from the internal memory before I uninstalled, and I had to hunt down the covers and delete them manually.

I tried apt-get remove -- purge, apt-get autoremove, and apt-get clean, recovered almost 3MB free :D

iamthewalrus
09-13-2008, 03:32 PM
On the desktop there is 'deborphan' to remove orphaned packages. Digging through the forum I found this command: (http://www.internettablettalk.com/forums/showthread.php?t=13727) that deletes leftover config files:

dpkg --purge $(dpkg --list | grep ^rc | awk '{ print $2; }')



This constructs a list of packages which are removed but still have their configuration files installed (denoted by the ^rc pattern) and passes this list to the package management utility to purge all obsolete files. (source (http://julipedia.blogspot.com/2005/09/cleaning-up-debian-box.html))


I haven't tried this myself so I have no idea if this works well. You can see what would be uninstalled with:

dpkg --list | grep ^rc | awk '{ print $2; }'


so you can delete them manually using dpkg --purge name-of-the-package

fernx_x
10-17-2008, 09:32 PM
On the desktop there is 'deborphan' to remove orphaned packages. Digging through the forum I found this command: (http://www.internettablettalk.com/forums/showthread.php?t=13727) that deletes leftover config files:

dpkg --purge $(dpkg --list | grep ^rc | awk '{ print $2; }')




I haven't tried this myself so I have no idea if this works well. You can see what would be uninstalled with:

dpkg --list | grep ^rc | awk '{ print $2; }'


so you can delete them manually using dpkg --purge name-of-the-package

Thanks i free 23.7MB of space. when i got my NIT i start intalling app like crazy and unistall almost all of those app and i realize that i dint have space i was looking for something like this thnaks a lot