will trillich <[EMAIL PROTECTED]> wrote on 03/10/2000 (20:12) : > 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"
oops, yes thanks: dpkg --get-selections | grep -v "deinstall" | 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/ \,