On Tue, Oct 03, 2000 at 02:53:00PM +0200, Preben Randhol wrote:
> Colin Watson <[EMAIL PROTECTED]> wrote on 03/10/2000 (14:49) :
> > Preben Randhol <[EMAIL PROTECTED]> wrote:
> > >I'm trying to list out all the packages I have installed on my system.
> > >I can do a dpkg -l, but I only want the package names not the rest, as
> > >I'm going to use the package names.
> > 
> >   dpkg --get-selections | cut -f1
> 
> Ah thanks that was what I was looking for.
> 
> dpkg --get-selections | grep "install" | cut -f1

careful -- that'll also show "deinstall" items:
        % dpkg --get-selections | grep "deinstall"
apache                                          deinstall

-- 
things are more like they used to be than they are now.

[EMAIL PROTECTED] *** http://www.dontUthink.com/

Reply via email to