[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Trimming the fat off an installation



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/10/07 18:14, andy wrote:
> Sven Arvidsson wrote:
>> On Thu, 2007-05-10 at 07:23 +0100, andy wrote:
>>  
>>> I am wanting to figure out a way to rid myself of packages that I
>>> don't use, orphan files, and other random bits of software detritus.
>>>     
>>
>> If you have popularity-contest installed and have been running it for a
>> while you can use it to filter out seldom or never used packages.
>>
>> There's even a script included, popcon-largest-unused, for listing
>> unused packages by size.
>>
>>   
> Neat command - thanks Sven! Thanks for the many other suggestions from
> you guys!
> 
> I found a whole bunch of files or rather a long-list of entries like:
> 
> 0 0 libpoppler0c2-qt <NOFILES>
> 0 0 libsdl-pango1 <NOFILES>
> 0 0 kdenetwork-kfile-plugins <NOFILES>
> 0 0 libnetcdf3 <NOFILES>
> 0 0 libtotem-plparser1 <NOFILES>
> 
> Am I correct in understanding that these list packages against which no
> recent use entries are recorded in the log files? Would this be a good
> program to run against deporphan or does one identify specific packages
> that show up in this list to run through an "apt-get remove --purge"
> routine?

If you "apt-get --purge remove $SOME_LIBRARY" and it only removes
that one package, then you've got your answer!!  If it wants to also
remove "higher" dependencies, then you can decide whether you also
want to get rid of the other packages.

A second xterm from which you can run "apt-cache show" is a big help.

- --
Ron Johnson, Jr.
Jefferson LA  USA

Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGQ8CBS9HxQb37XmcRAnBAAJ90f0KDqzkV8bvgcFGg1CqfXOsQdACcCHjL
ja/FOfJPvgmHooTi/orJHJM=
=S4QK
-----END PGP SIGNATURE-----



Reply to: