[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: getting full package name



On Monday September  6 at 11:18pm
Craig Jackson <cjackson@localsurface.com> wrote:

> Hi,
> If I would like to know the name of a package, for example dhcp,
> installed on the system, I would run
> 
> dpkg -l | grep dhcp
> 
> Most of the time I get the right name and I'm happy. But there are
> times when the name of the package is so long that I cannot tell what
> the name is.

You can use 'apt-cache search -n <regexp>' to restrict the search to
just the name, or 'dpkg --get-selections <regexp>' for installed
packages.
-- 
-johann koenig
Now Playing: 504plan - Or Else : Punk Vs. Emo (Disc 2 - Emo)
Today is Prickle-Prickle, the 30th day of Bureaucracy in the YOLD 3170
My public pgp key: http://mental-graffiti.com/pgp/

Attachment: pgpy1ZJHudX6e.pgp
Description: PGP signature


Reply to: