Re: Listing only the package names with dpkg?
Colin Watson <cjw44@flatline.org.uk> wrote on 03/10/2000 (14:49) :
> Preben Randhol <randhol@pvv.org> 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
--
Preben Randhol - Ph.D Student - http://www.pvv.org/~randhol/ ._.
Debian 2.2 |"Don't think about domination, think about freedom, / _,\
Potato | it doesn't dominate." - Richard M. Stallman | (_./
GNU/Linux | To learn more visit => http://www.debian.org/ \,
Reply to: