list installed packages by using apt

Jad madi jad at syntux.net
Fri Aug 3 13:25:12 UTC 2007


 dpkg -l should list them all.
and if you want to count it pipe it to wc -l

On 31/07/07, Derek Broughton <news at pointerstop.ca> wrote:
> 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
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>


-- 
Jad
http://Syntux.net/
Your freedom is worth more than you think. Take advantage of it while you can.




More information about the ubuntu-users mailing list