list installed packages by using apt
Derek Broughton
news at pointerstop.ca
Tue Jul 31 18:14:58 UTC 2007
Felipe Figueiredo wrote:
> On Monday 30 July 2007 11:00:54 Derek Broughton wrote:
>> aptitude search '~i !~M' | tr -s ' ' | cut -f 2 -d ' '
>
> +1!
I forgot to mention that the reason for the "!~M" switch (ignore the
automatically installed packages) is that you never need to keep a record
of them. If you want to create a system with all the packages of another
system, this list will automatically pull in the same dependencies.
--
derek
More information about the ubuntu-users
mailing list