PDA

View Full Version : [ubuntu] Complete removal of mplayer



SpinningAround
January 26th, 2009, 10:56 PM
I installed mplayer sometime ago and it needed about 22mb now when I removed mplayer using autoremove did it only free up about 17mb so 5mb are still there, can they be removed?

bwang
January 26th, 2009, 10:58 PM
Try:


sudo apt-get autoremove

to remove any unneeded packages. Why the worrying over just 5 mb, anyway?

Hospadar
January 26th, 2009, 11:01 PM
also perhaps by purging
for example
sudo apt-get install mplayer
sudo apt-get remove --purge mplayer

Often when packages are removed they leave behind config files so if you reinstall them they will stay configured the way you left them.
purging will remove these files as well.

Also autoremove is nice. if you install a package that has dependancies, then later remove said package, autoremove will remove the dependancies that got installed if they are no longer needed by anything.

mister_pink
January 26th, 2009, 11:06 PM
It's possible that some dependencies haven't been removed because they're required by something else you installed after mplayer. For example, if mplayer depends on a, b, c and d, and you later installed something else that depends on c, then only a b and d will be removed with mplayer.

Vantrax
January 26th, 2009, 11:54 PM
It's possible that some dependencies haven't been removed because they're required by something else you installed after mplayer. For example, if mplayer depends on a, b, c and d, and you later installed something else that depends on c, then only a b and d will be removed with mplayer.

This tends to the the common reason, especially for that size of remaining files. I would not worry about this unless you have limited space.

You can also check in synaptic to use the orphaned packages filter to see what else you can get rid of (if you prefer the GUI).

SpinningAround
January 27th, 2009, 12:21 AM
Thanks for the answers, got a 5 GiB / partition so try to keep "waste" packages to a minimum

Nero147
January 27th, 2009, 12:25 AM
Also check to make sure that it removed the "/home/user/.mplayer" directory. a lot of things leave your prefs in your home even when you remove them.