Brian Servis hat gesagt: // Brian Servis wrote: > *- On 29 Sep, Ben Collins wrote about "Re: What packages are installed?" > > On Wed, Sep 29, 1999 at 02:37:08PM +0000, Jose L Gomez Dans wrote: > > > Hi! > > > I suppose this is a *very* basic question, but is there an easy way > > > to find out what packages are installed? > > > > dpkg -l | less > > > > Or if you don't want to know the version and don't want long package > names truncated: > > dpkg --get-selections | grep install | awk -F" " '{print $1}'
This also gives you packages that are deinstalled. I'd suggest: dpkg -l | grep "^.i" | awk -F" " '{print $2}' or dpkg -l | grep "^.i" | less -- __ __ Frank Barknecht ____ ______ ____ __ trip\ \ / /wire ______ / __// __ /__/ __// // __ \ \/ / __ \\ ___\ / / / ____/ / / / // ____// /\ \\ ___\\____ \ /_/ /_____/ /_/ /_//_____// / \ \\_____\\_____\ /_/ \_\