saving package list

David Fletcher dave at thefletchers.net
Mon Oct 6 22:11:52 UTC 2008


On Wednesday 27 Aug 2008, Derek Broughton wrote:
> Martin Laberge wrote:
> 
> 
> I post this just about monthly.  IF you do installs with aptitude (I can't
> vouch for it working any other way):
> 
>  aptitude search '~i !~M' | tr -s ' ' | cut -f 2 -d ' ' 
> 
> will return a lovely list of all the _manually_ installed packages - no
> dependencies.
> 
> The first part says show the Installed (Manual) packages, 'tr' eliminates
> excess spaces, and cut finds just the second word (the package name).
> -- 
> derek
> 


Thanks for that one - I've added it to my backup script so I don't have to 
remember to run it.

Dave





More information about the kubuntu-users mailing list