Re: What packages are installed?
*- 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? I mean, I can go through
>> /var/lib/dpkg/available and figure it out. However, if it's a very "popular"
>> package, it'll take for ever. I tried using dpkg --print-avail, but this
>> does not seem to take wildcards.
>>
>
> 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}'
--
Brian
---------------------------------------------------------------------
Mechanical Engineering servis@purdue.edu
Purdue University http://www.ecn.purdue.edu/~servis
---------------------------------------------------------------------
Reply to: