Re: List of packages
Incoming from Stephen Touset:
> On Wed, 2004-10-27 at 16:20 -0500, Hugo Vanwoerkom wrote:
> > Jim Hall wrote:
> > > On Sarge, is there a way to list every installed package? I don't think
> > > I need things like libs, just the package names.
> >
> > I've said this before, but dpkg -l gives you everything that is
> > installed, including the libs.
> >
> > The only way of knowing "what you installed" is by keeping a list
> > yourself. E.g. apt-get install x-window-system gets you tons of things,
> > but all you installed was x-window-system.
>
> dpkg --get-selections | tr "\t" " " | cut -d\ -f1 | grep -v lib | wc -l
Nope. That finds stuff that's since been removed.
dpkg --get-selections | grep -v deinstall | ...
might lead you to where you want to go.
--
Any technology distinguishable from magic is insufficiently advanced.
(*) http://www.spots.ab.ca/~keeling Please don't Cc: me.
- -
Reply to: